summaryrefslogtreecommitdiff
path: root/regress/usr.bin/pkg-config/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'regress/usr.bin/pkg-config/Makefile')
-rw-r--r--regress/usr.bin/pkg-config/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/regress/usr.bin/pkg-config/Makefile b/regress/usr.bin/pkg-config/Makefile
index 23f01667562..c34cfb87ebc 100644
--- a/regress/usr.bin/pkg-config/Makefile
+++ b/regress/usr.bin/pkg-config/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.33 2012/10/09 07:01:05 jasper Exp $
+# $OpenBSD: Makefile,v 1.34 2012/10/09 07:47:39 jasper Exp $
REGRESS_TARGETS=cmp-vers1-1 \
cmp-vers1-2 \
@@ -47,6 +47,7 @@ REGRESS_TARGETS=cmp-vers1-1 \
missing-req-1 \
missing-req-2 \
missing-req-3 \
+ missing-req-4 \
whitespace-cflags \
whitespace-libs \
whitespace-linebreak \
@@ -361,6 +362,12 @@ missing-req-3:
@${VPCONFIG} --modversion missing-req
@diff -u ${WANT} ${GOT}
+missing-req-4:
+ # Test for missing Requires.private with --exists
+ @echo "Package nonexisting was not found in the pkg-config search path" > ${WANT}
+ @${VPCONFIG} --exists missing-req2
+ @diff -u ${WANT} ${GOT}
+
whitespace-cflags:
# Test whitespace on various positions in Cflags
@echo "-I/tmp/include -I/tmp/include/include\ dir" > ${WANT}