From 24236c76c1eb9cb41f78ea1f8b07ac05fa25cbf9 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Fri, 20 Jul 2012 19:55:06 -0500 Subject: [PATCH] tests: add a test for malformed pkg_t entities --- tests/run.sh.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/run.sh.in b/tests/run.sh.in index f691f7a..e712afc 100644 --- a/tests/run.sh.in +++ b/tests/run.sh.in @@ -61,6 +61,8 @@ run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --uninstalled 'omg'; echo \$?" \ '0' run_test "${1} --modversion ${selfdir}/lib1/foo.pc" \ '1.2.3' +run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --exists 'foo >= '; echo \$?" \ + '1' # 2) tests for PKG_CONFIG_PATH order run_test "PKG_CONFIG_PATH=${selfdir}/lib1:${selfdir}/lib2 ${1} --libs foo" \