From a40c5bd59e0d84a9dbbf075fde96326ee94df034 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 24 Feb 2013 09:08:06 -0600 Subject: [PATCH] testsuite: check that unrecognized options fail --- tests/run.sh.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/run.sh.in b/tests/run.sh.in index 941c2af..92a68dd 100644 --- a/tests/run.sh.in +++ b/tests/run.sh.in @@ -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