summaryrefslogtreecommitdiff
path: root/regress/usr.bin/pkg-config/pcdir
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2011-06-06 20:49:27 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2011-06-06 20:49:27 +0000
commitc421a9a9b7332cc9eada600723da31b648857731 (patch)
treed854ada396f5aaa51a646b201b4a290dc90dd3f9 /regress/usr.bin/pkg-config/pcdir
parent858053f86e1a44054353f429dc7039f3e29bf520 (diff)
add failing tests for whitespace and Requires abuse
Diffstat (limited to 'regress/usr.bin/pkg-config/pcdir')
-rw-r--r--regress/usr.bin/pkg-config/pcdir/missing-req.pc7
-rw-r--r--regress/usr.bin/pkg-config/pcdir/whitespace.pc10
2 files changed, 17 insertions, 0 deletions
diff --git a/regress/usr.bin/pkg-config/pcdir/missing-req.pc b/regress/usr.bin/pkg-config/pcdir/missing-req.pc
new file mode 100644
index 00000000000..6be46b122ab
--- /dev/null
+++ b/regress/usr.bin/pkg-config/pcdir/missing-req.pc
@@ -0,0 +1,7 @@
+Name: Bogus Requires(.private)
+Description: pkg-config(1) regress file
+Version: 0.0.0
+Requires: nonexisting
+Requires.private: nonexisting2
+Libs: -L/missing-libdir/lib -lmissing-requires
+Cflags: -I/missing-includdir/include
diff --git a/regress/usr.bin/pkg-config/pcdir/whitespace.pc b/regress/usr.bin/pkg-config/pcdir/whitespace.pc
new file mode 100644
index 00000000000..9e79ab80bfb
--- /dev/null
+++ b/regress/usr.bin/pkg-config/pcdir/whitespace.pc
@@ -0,0 +1,10 @@
+prefix=/tmp
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: whitespace
+Description: pkg-config(1) regress file
+Version: 0.0.0
+Libs: -L${libdir} -L${libdir}/foo -lbaz\ quux
+Cflags: -I${includedir} -I${includedir}/include\ dir