diff --git a/tests/run.sh.in b/tests/run.sh.in index f088801..9b10d65 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" \