14 lines
279 B
Bash
14 lines
279 B
Bash
|
#!/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
|
||
|
|