From 8df5d237856d365a7a49835274e58e8c8bb281b1 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Thu, 27 Jul 2017 14:16:17 +1200 Subject: Add more tests, pull simple test runner from other project --- test/001-error-no-args.test/run.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 test/001-error-no-args.test/run.sh (limited to 'test/001-error-no-args.test/run.sh') diff --git a/test/001-error-no-args.test/run.sh b/test/001-error-no-args.test/run.sh new file mode 100755 index 0000000..4e67e1d --- /dev/null +++ b/test/001-error-no-args.test/run.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +${EXECUTABLE} +if [ $? -eq 0 ]; then + exit 1 +else + exit 0 +fi -- cgit v1.1