mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2025-12-20 06:40:03 +01:00
check: Ensure unknown options fail
This commit is contained in:
parent
d4c0c14ba8
commit
0a5d54d091
1 changed files with 5 additions and 0 deletions
|
|
@ -4,6 +4,11 @@ set -e
|
|||
|
||||
. ${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
|
||||
# between the two options, broken popt sets the version to compare to be
|
||||
# "a=b"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue