diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2012-10-09 07:47:40 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2012-10-09 07:47:40 +0000 |
commit | 468e70e55d2687d42ae0361e4ea9a7d20864d3f4 (patch) | |
tree | 1d047503d9fa53ef27ea667d103840146dcf14d4 /regress/usr.bin/pkg-config | |
parent | fefd7e22de8be018b7312857ace725db1950596e (diff) |
- add a (currently failing) test for nonexistant modules in Requires.private.
Diffstat (limited to 'regress/usr.bin/pkg-config')
-rw-r--r-- | regress/usr.bin/pkg-config/Makefile | 9 | ||||
-rw-r--r-- | regress/usr.bin/pkg-config/pcdir/missing-req2.pc | 5 |
2 files changed, 13 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} diff --git a/regress/usr.bin/pkg-config/pcdir/missing-req2.pc b/regress/usr.bin/pkg-config/pcdir/missing-req2.pc new file mode 100644 index 00000000000..8a654b36247 --- /dev/null +++ b/regress/usr.bin/pkg-config/pcdir/missing-req2.pc @@ -0,0 +1,5 @@ +Name: Bogus Requires.private +Description: pkg-config(1) regress file +Version: 0.0.0 +Requires: +Requires.private: nonexisting |