forked from ariadne/pkgconf
tests: add a test for malformed pkg_t entities
parent
6194cd3133
commit
24236c76c1
|
@ -61,6 +61,8 @@ run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --uninstalled 'omg'; echo \$?" \
|
||||||
'0'
|
'0'
|
||||||
run_test "${1} --modversion ${selfdir}/lib1/foo.pc" \
|
run_test "${1} --modversion ${selfdir}/lib1/foo.pc" \
|
||||||
'1.2.3'
|
'1.2.3'
|
||||||
|
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --exists 'foo >= '; echo \$?" \
|
||||||
|
'1'
|
||||||
|
|
||||||
# 2) tests for PKG_CONFIG_PATH order
|
# 2) tests for PKG_CONFIG_PATH order
|
||||||
run_test "PKG_CONFIG_PATH=${selfdir}/lib1:${selfdir}/lib2 ${1} --libs foo" \
|
run_test "PKG_CONFIG_PATH=${selfdir}/lib1:${selfdir}/lib2 ${1} --libs foo" \
|
||||||
|
|
Loading…
Reference in New Issue