diff --git a/tests/lib1/case-sensitivity.pc b/tests/lib1/case-sensitivity.pc new file mode 100644 index 0000000..9618061 --- /dev/null +++ b/tests/lib1/case-sensitivity.pc @@ -0,0 +1,7 @@ +foo=3 +Foo=4 + +Name: case-sensitivity +Description: Package for testing case-sensitivity +Version: 1 +Requires: foo < ${foo} diff --git a/tests/run.sh.in b/tests/run.sh.in index d09a020..646c1bd 100644 --- a/tests/run.sh.in +++ b/tests/run.sh.in @@ -237,6 +237,11 @@ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --exists --print-errors 'nonexi run_test "PKG_CONFIG_PATH='${selfdir}/lib2' ${1} ${selfdir}/lib3/bar.pc --cflags" \ '-fPIC -I/usr/include/foo' +run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --variable=foo case-sensitivity" \ + "3" +run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --variable=Foo case-sensitivity" \ + "4" + # 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" \