From 58d0136990a80e73f0e0d79137380d43f68a6e86 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 28 May 2016 03:42:41 -0500 Subject: [PATCH] testsuite: add a couple of other cornercases identified by looking at openbsd pkg-config changes --- tests/run.sh.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/run.sh.in b/tests/run.sh.in index 80d9c1c..d8e7464 100644 --- a/tests/run.sh.in +++ b/tests/run.sh.in @@ -64,6 +64,10 @@ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --cflags --libs 'foo > 1.2,bar '-lbar' '-I/test/include/foo' '-fPIC' run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --cflags --libs 'foo' '>' '1.2'" \ '-lfoo' '-I/test/include/foo' '-fPIC' +run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --cflags --libs 'foo' '!=' '1.3.0'" \ + '-lfoo' '-I/test/include/foo' '-fPIC' +run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --cflags --libs 'foo' '!=' '1.2.3'; echo \$?" \ + '1' run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --exists nonexistant; echo \$?" \ '1' run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} nonexistant; echo \$?" \