diff options
Diffstat (limited to 'tclap-1.2.1/tests/test57.sh')
-rw-r--r-- | tclap-1.2.1/tests/test57.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tclap-1.2.1/tests/test57.sh b/tclap-1.2.1/tests/test57.sh new file mode 100644 index 0000000..5256b8f --- /dev/null +++ b/tclap-1.2.1/tests/test57.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +# failure +# This used to fail on the "Too many arguments!" but now fails sooner, +# and on a more approriate error. +../examples/test5 --aaa asdf -c fdas --fff blah -i one -i two -j huh > tmp.out 2>&1 + +if cmp -s tmp.out $srcdir/test57.out; then + exit 0 +else + exit 1 +fi + |