tests: pkg-config treats tilde in reverse of how we got it in 0.8.4.

pull/36/head
William Pitcock 2012-07-30 05:01:07 -05:00
parent 8acc7533db
commit ec229b7cab
1 changed files with 2 additions and 2 deletions

View File

@ -69,11 +69,11 @@ run_test "${1} --modversion ${selfdir}/lib1/foo.pc" \
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --exists 'foo >= '; echo \$?" \
'1'
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --exists 'tilde <= 1.0.0'; echo \$?" \
'0'
'1'
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --exists 'tilde = 1.0.0~rc1'; echo \$?" \
'0'
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --exists 'tilde >= 1.0.0'; echo \$?" \
'1'
'0'
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --exists '' 'foo'; echo \$?" \
'0'