aboutsummaryrefslogtreecommitdiff
path: root/tools/test.sh
diff options
context:
space:
mode:
authorjon-stumpf <jon.stumpf@gmail.com>2014-10-09 20:17:48 -0400
committerjon-stumpf <jon.stumpf@gmail.com>2014-10-10 00:49:19 -0400
commit47843be139e6c797954c87043a80bf40e242f70d (patch)
treebd51eb5e938cff84ee072769f979c80eafb5e761 /tools/test.sh
parent21d69f45cd5badf52e175fc234c5c7bd3c2aeb35 (diff)
downloadtrackermap-server-47843be139e6c797954c87043a80bf40e242f70d.tar.gz
trackermap-server-47843be139e6c797954c87043a80bf40e242f70d.tar.bz2
trackermap-server-47843be139e6c797954c87043a80bf40e242f70d.zip
Added comments to scripts in tools/
Diffstat (limited to 'tools/test.sh')
-rwxr-xr-xtools/test.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/test.sh b/tools/test.sh
index b9a5c6f3b..267d69161 100755
--- a/tools/test.sh
+++ b/tools/test.sh
@@ -1,4 +1,15 @@
+#
+# This test data assumes three devices exist:
+#
+# INSERT INTO device ( name, uniqueid ) VALUES
+# ( 'Test Device 1', 123456789012345 ),
+# ( 'Test Device 2', 123456789012 ),
+# ( 'Test Device 3', 123456 );
+#
+# Note: Not all shells support "echo -e" (e.g., dash, the default on Ubuntu).
+# This will cause an unknown device error for "-e". bash works.
+
# testing data:
# ids - 123456789012345 (32), 123456789012 (1), 123456 (2)
# time - 12:00 + X min (where X is protocol number)