diff options
Diffstat (limited to 'regress/usr.bin')
-rw-r--r-- | regress/usr.bin/pkg-config/Makefile | 14 | ||||
-rw-r--r-- | regress/usr.bin/pkg-config/pcdir/requires-test4.pc | 6 |
2 files changed, 18 insertions, 2 deletions
diff --git a/regress/usr.bin/pkg-config/Makefile b/regress/usr.bin/pkg-config/Makefile index 918f69d8ae4..41172c50d4c 100644 --- a/regress/usr.bin/pkg-config/Makefile +++ b/regress/usr.bin/pkg-config/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.31 2012/07/08 06:52:00 espie Exp $ +# $OpenBSD: Makefile,v 1.32 2012/07/08 07:45:37 espie Exp $ REGRESS_TARGETS=cmp-vers1-1 \ cmp-vers1-2 \ @@ -50,7 +50,9 @@ REGRESS_TARGETS=cmp-vers1-1 \ whitespace-cflags \ whitespace-libs \ whitespace-linebreak \ - whitespace-name + whitespace-name \ + broken-require-1 \ + broken-require-2 PKG_CONFIG= pkg-config PCONFIG = PKG_CONFIG_PATH=${.CURDIR}/pcdir/ ${PKG_CONFIG} @@ -384,6 +386,14 @@ whitespace-name: @if ${VPCONFIG} "whitespace > 0.2.0"; then false; fi @diff -u ${WANT} ${GOT} +broken-require-1: + # Test expanded variables with special parsing requirements + ${PCONFIG} requires-test3 + +broken-require-2: + # Test expanded variables with special parsing requirements + ${PCONFIG} requires-test4 + clean: rm -f *.want *.got diff --git a/regress/usr.bin/pkg-config/pcdir/requires-test4.pc b/regress/usr.bin/pkg-config/pcdir/requires-test4.pc new file mode 100644 index 00000000000..7a3fe60273f --- /dev/null +++ b/regress/usr.bin/pkg-config/pcdir/requires-test4.pc @@ -0,0 +1,6 @@ +requires=alpha >= 0.0 beta + +Name: Requires/$requires expansion test +Description: pkg-config(1) regress file +Version: 1.0 +Requires: ${requires} |