aboutsummaryrefslogtreecommitdiff
path: root/test/003-test-invalid-char.test/run.sh
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-07-27 14:16:17 +1200
committerDavid Phillips <david@sighup.nz>2017-07-27 14:16:17 +1200
commit8df5d237856d365a7a49835274e58e8c8bb281b1 (patch)
tree2973898cdff4fd9d4e4e5acf69b97221c879bfb9 /test/003-test-invalid-char.test/run.sh
parent92d9e59d6b3dc5375c100c72ba8907502aea8331 (diff)
downloadsand-leek-8df5d237856d365a7a49835274e58e8c8bb281b1.tar.xz
Add more tests, pull simple test runner from other project
Diffstat (limited to 'test/003-test-invalid-char.test/run.sh')
-rw-r--r--test/003-test-invalid-char.test/run.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/003-test-invalid-char.test/run.sh b/test/003-test-invalid-char.test/run.sh
new file mode 100644
index 0000000..a59b826
--- /dev/null
+++ b/test/003-test-invalid-char.test/run.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+${EXECUTABLE} -s foovalid1not
+
+if [ $? -eq 0 ]; then
+ exit 1
+else
+ exit 0
+fi