summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2012-12-11 10:04:21 -0800
committerDan Nicholson <dbn.lists@gmail.com>2012-12-11 11:59:40 -0800
commitec11c93ef843c30d93d182ca940b78a052d0560c (patch)
treeeae399138c9b0c98b40d5f444c6d7181d0415bff /check
parentd1b7dd42d19c688bbb743cd83ccf2c518b75614c (diff)
downloadpkg-config-ec11c93ef843c30d93d182ca940b78a052d0560c.tar.gz
Explicitly set --exists as the default option
This happened basically by accident before when "pkg-config foo" was run because the code wouldn't find any options set and just fall through to the end after processing the package arguments. However, it would act differently in that Requires.private was only enabled with an explicit --exists.
Diffstat (limited to 'check')
-rwxr-xr-xcheck/check-missing6
1 files changed, 3 insertions, 3 deletions
diff --git a/check/check-missing b/check/check-missing
index 719998a..bb5f79a 100755
--- a/check/check-missing
+++ b/check/check-missing
@@ -51,10 +51,10 @@ EXPECT_RETURN=0
RESULT="/usr/include/somedir"
run_test --variable includedir missing-requires-private
-# tests below are on an existing package, but with missing Requires; when
-# pkg-config outputs error, the actual error text isn't checked
+# tests below are on an existing package, but with missing Requires;
+# when pkg-config outputs error, the actual error text isn't checked
# package exists
-EXPECT_RETURN=0
+EXPECT_RETURN=1
RESULT=""
run_test missing-requires