From fdd381dfcddec8115bc54d1748c6ac79a63e16d9 Mon Sep 17 00:00:00 2001 From: jasper Date: Sat, 10 Oct 2015 12:20:10 +0000 Subject: [PATCH] add (currently failing) test for --exists foo,bar. spotted by aja@ --- regress/usr.bin/pkg-config/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/regress/usr.bin/pkg-config/Makefile b/regress/usr.bin/pkg-config/Makefile index 63b80910aea..162ba479eff 100644 --- a/regress/usr.bin/pkg-config/Makefile +++ b/regress/usr.bin/pkg-config/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.50 2015/08/14 06:38:16 jasper Exp $ +# $OpenBSD: Makefile,v 1.51 2015/10/10 12:20:10 jasper Exp $ REGRESS_TARGETS=cmp-vers1-1 \ cmp-vers1-2 \ @@ -74,6 +74,8 @@ REGRESS_TARGETS=cmp-vers1-1 \ max-version-2 \ find-config-1 \ find-config-2 \ + find-config-3 \ + find-config-4 \ variable-get-1 \ variable-set \ variables-1 \ @@ -519,6 +521,14 @@ find-config-2: ${.CURDIR}/pcdir/public-dep.pc > ${GOT} @diff -u ${WANT} ${GOT} +find-config-3: + # Simple existential test + ${VPCONFIG} --exists vers1 + +find-config-4: + # Multiple existential tests combined + ${VPCONFIG} --exists vers1,vers2 + variable-get-1: # Test --variable @echo "/tmp" > ${WANT} -- 2.20.1