aboutsummaryrefslogtreecommitdiff
path: root/tools/test.sh
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-10-10 20:01:38 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2014-10-10 20:01:38 +1300
commit0078b360e1d39981c941501c1dfa80b5f2d86d21 (patch)
treee9b33ba9a0b60e30c7887061262b0e3cdb5b838e /tools/test.sh
parent4f5f815f88e81000510ef2544e3e392fd7465d8e (diff)
parent7b74b287358d09d12908f1cfef53d0eda271b0f9 (diff)
downloadtrackermap-server-0078b360e1d39981c941501c1dfa80b5f2d86d21.tar.gz
trackermap-server-0078b360e1d39981c941501c1dfa80b5f2d86d21.tar.bz2
trackermap-server-0078b360e1d39981c941501c1dfa80b5f2d86d21.zip
Merge pull request #911 from jon-stumpf/enhancement-update-tools
Update 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)