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/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/regress/usr.bin/pkg-config/Makefile b/regress/usr.bin/pkg-config/Makefile
index a1ac4e56b9a..af02a15f604 100644
--- a/regress/usr.bin/pkg-config/Makefile
+++ b/regress/usr.bin/pkg-config/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.23 2011/09/17 17:46:03 jasper Exp $
+# $OpenBSD: Makefile,v 1.24 2011/09/17 18:07:17 jasper Exp $
REGRESS_TARGETS=cmp-vers1-1 \
cmp-vers1-2 \
@@ -50,9 +50,11 @@ REGRESS_TARGETS=cmp-vers1-1 \
missing-req-3 \
whitespace-cflags \
whitespace-libs \
+ whitespace-linebreak \
whitespace-name
PKG_CONFIG= pkg-config
+#PKG_CONFIG= /usr/obj/ports/pkgconfig-0.26/fake-i386/usr/local/bin/pkg-config
WANT= ${.OBJDIR}/$@.want
GOT= ${.OBJDIR}/$@.got
@@ -423,6 +425,13 @@ whitespace-libs:
--errors-to-stdout --print-errors whitespace > ${GOT}
@diff -u ${WANT} ${GOT}
+whitespace-linebreak:
+ # Test linebreak in Description field
+ @echo "-lc " > ${WANT}
+ @PKG_CONFIG_PATH=${.CURDIR}/pcdir/ ${PKG_CONFIG} --errors-to-stdout \
+ --print-errors --libs linebreak > ${GOT}
+ @diff -u ${WANT} ${GOT}
+
whitespace-name:
# Test whitespace in Name
@echo "Requested 'whitespace > 0.2.0' but version of Whitespace test is 0.0.0" > ${WANT}