summaryrefslogtreecommitdiff
path: root/tclap-1.2.1/tests/test65.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tclap-1.2.1/tests/test65.sh')
-rw-r--r--tclap-1.2.1/tests/test65.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/tclap-1.2.1/tests/test65.sh b/tclap-1.2.1/tests/test65.sh
new file mode 100644
index 0000000..1b737c7
--- /dev/null
+++ b/tclap-1.2.1/tests/test65.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# this tests whether all required args are listed as
+# missing when no arguments are specified
+# failure
+../examples/test12 -v "1 2 3" -v "4 5 6" -v "7 8 9" -v "-1 0.2 0.4" \
+ > tmp.out 2>&1
+
+if cmp -s tmp.out $srcdir/test65.out; then
+ exit 0
+else
+ exit 1
+fi
+