diff --git a/tests/lib1/tilde-quoting.pc b/tests/lib1/tilde-quoting.pc new file mode 100644 index 0000000..4d37978 --- /dev/null +++ b/tests/lib1/tilde-quoting.pc @@ -0,0 +1,5 @@ +Name: tilde +Description: Another pkg-config test +Version: 1.3 +Libs: -L~ -ltilde +Cflags: -I~ diff --git a/tests/run.sh.in b/tests/run.sh.in index f35868f..e514e69 100644 --- a/tests/run.sh.in +++ b/tests/run.sh.in @@ -118,6 +118,10 @@ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --exists -foo; echo \$?" \ '1' run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --libs argv-parse-3" \ '-llib-1' +run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --libs tilde-quoting" \ + '-L~' +run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --cflags tilde-quoting" \ + '-I~' # 5) tests for other regressions run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --variable=includedir foo" \