From f522f55e120dc790e3daf3ab4aecd8b68e8c1372 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Wed, 25 Jul 2012 10:18:09 -0500 Subject: [PATCH] tests: add test for blank package arguments --- tests/run.sh.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/run.sh.in b/tests/run.sh.in index 8bec59a..6bd3c26 100644 --- a/tests/run.sh.in +++ b/tests/run.sh.in @@ -69,6 +69,8 @@ run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --exists 'tilde = 1.0.0~rc1'; ech '0' run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --exists 'tilde >= 1.0.0'; echo \$?" \ '1' +run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --exists '' 'foo'; echo \$?" \ + '0' # 2) tests for PKG_CONFIG_PATH order run_test "PKG_CONFIG_PATH=${selfdir}/lib1:${selfdir}/lib2 ${1} --libs foo" \