diff options
Diffstat (limited to 'tclap-1.2.1/tests/test77.sh')
-rw-r--r-- | tclap-1.2.1/tests/test77.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tclap-1.2.1/tests/test77.sh b/tclap-1.2.1/tests/test77.sh new file mode 100644 index 0000000..745d93b --- /dev/null +++ b/tclap-1.2.1/tests/test77.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +# failure validates that the correct error message +# is displayed for XOR'd args +../examples/test20 -ab > tmp.out 2>&1 + +if cmp -s tmp.out $srcdir/test77.out; then + exit 0 +else + exit 1 +fi + |