check: Ensure unknown options fail

This commit is contained in:
Dan Nicholson 2012-10-01 22:22:19 -07:00
parent d4c0c14ba8
commit 0a5d54d091

View file

@ -4,6 +4,11 @@ set -e
. ${srcdir}/common . ${srcdir}/common
# non-existent option should fail
EXPECT_RETURN=1
RESULT="Unknown option --blah"
run_test --blah
# all of these should fail, but when '=' or ' ' aren't used consistently # all of these should fail, but when '=' or ' ' aren't used consistently
# between the two options, broken popt sets the version to compare to be # between the two options, broken popt sets the version to compare to be
# "a=b" # "a=b"