summaryrefslogtreecommitdiff
path: root/tclap-1.2.1/tests/test23.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tclap-1.2.1/tests/test23.sh')
-rw-r--r--tclap-1.2.1/tests/test23.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/tclap-1.2.1/tests/test23.sh b/tclap-1.2.1/tests/test23.sh
new file mode 100644
index 0000000..df67794
--- /dev/null
+++ b/tclap-1.2.1/tests/test23.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# failure
+../examples/test5 -d junk -c fdas > tmp.out 2>&1
+
+if cmp -s tmp.out $srcdir/test23.out; then
+ exit 0
+else
+ exit 1
+fi
+