From 747faf37325ea8b4fd678c1e42ae794a1b6dbfb4 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Sat, 25 Aug 2012 19:09:33 -0500 Subject: [PATCH] Add test case for pkgconf against file in CWD --- tests/run.sh.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/run.sh.in b/tests/run.sh.in index 9ad7493..7c0deac 100644 --- a/tests/run.sh.in +++ b/tests/run.sh.in @@ -177,6 +177,11 @@ run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --libs nolib; echo \$?" \ run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --libs nocflag; echo \$?" \ '0' +# test 36 - running against file in CWD with no path +# File moved to CWD to allow arbitrary path to pkgconf and keep pc file in CWD +run_test "cp ${selfdir}/lib1/foo.pc . && ${1} --libs foo.pc; rm -f foo.pc" \ + '-lfoo' + # 10) tests for internal getopt implementation with options at the end if [ "x@STRICT_MODE@" = "xno" ]; then run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} foo --libs" \