tests: add a test for malformed pkg_t entities

feature/tap-sh
William Pitcock 2012-07-20 19:55:06 -05:00
parent 6194cd3133
commit 24236c76c1
1 changed files with 2 additions and 0 deletions

View File

@ -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" \