summaryrefslogtreecommitdiffstats
path: root/regress/usr.bin/pkg-config
diff options
context:
space:
mode:
authorjasper <jasper@openbsd.org>2013-05-30 00:02:36 +0000
committerjasper <jasper@openbsd.org>2013-05-30 00:02:36 +0000
commit4b54ba90c96e23d8e40d1e7724382767129cc42a (patch)
tree979d4b6bff13f5fede1faaa37f4ee501cd1e5487 /regress/usr.bin/pkg-config
parentadjust error message for empty files to display the full path to the file, (diff)
downloadwireguard-openbsd-4b54ba90c96e23d8e40d1e7724382767129cc42a.tar.xz
wireguard-openbsd-4b54ba90c96e23d8e40d1e7724382767129cc42a.zip
sync with pkg-config -r1.80 wrt to the output for empty files.
Diffstat (limited to 'regress/usr.bin/pkg-config')
-rw-r--r--regress/usr.bin/pkg-config/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.bin/pkg-config/Makefile b/regress/usr.bin/pkg-config/Makefile
index 26ea388827a..e8ea2879043 100644
--- a/regress/usr.bin/pkg-config/Makefile
+++ b/regress/usr.bin/pkg-config/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.37 2013/03/27 09:46:55 jasper Exp $
+# $OpenBSD: Makefile,v 1.38 2013/05/30 00:02:36 jasper Exp $
REGRESS_TARGETS=cmp-vers1-1 \
cmp-vers1-2 \
@@ -84,7 +84,7 @@ corrupt2:
corrupt3:
# Test for empty file
- @echo "Package file '$@.pc' appears to be empty" > ${WANT}
+ @echo "Package file '${.CURDIR}/pcdir//$@.pc' appears to be empty" > ${WANT}
@echo "Package '$@' has no Name: field" >> ${WANT}
@if ${VPCONFIG} --libs $@; then false; fi
@diff -u ${WANT} ${GOT}