TCLAP/tests/test69.sh
zeekec 3431fcfd78 Allow internal handling of parse errors to be turned off.
This allows exceptions for parse errors to be propagated to the caller.  Exiting
the program in parse is a bad idea generally, as we have no way of knowing what
cleanup needs to be done in the main program.
2008-07-21 17:20:57 +00:00

13 lines
194 B
Bash
Executable File

#!/bin/sh
# Checks that parsing exceptions are properly
# propagated to the caller.
../examples/test18 --bob > tmp.out 2>&1
if cmp -s tmp.out $srcdir/test69.out; then
exit 0
else
exit 1
fi