summaryrefslogtreecommitdiff
path: root/tclap-1.2.1/tests/test57.sh
blob: 5256b8f04ec6b9d298283e40bfa2cfe61c810204 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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