testsuite: check that unrecognized options fail

pull/48/head
William Pitcock 2013-02-24 09:08:06 -06:00
parent 77c5b82aad
commit a40c5bd59e
1 changed files with 3 additions and 0 deletions

View File

@ -220,6 +220,9 @@ if [ "x@STRICT_MODE@" = "xno" ]; then
'-lfoo' '-I/usr/include/foo' '-fPIC'
fi
run_test "${1} --blah; echo \$?" \
'1'
echo
if [ ${failed} -gt 0 ]; then