From ec229b7cab08bcb53908edee12fcac452946f8fa Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Mon, 30 Jul 2012 05:01:07 -0500 Subject: [PATCH] tests: pkg-config treats tilde in reverse of how we got it in 0.8.4. --- tests/run.sh.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/run.sh.in b/tests/run.sh.in index 2ad9bce..c754822 100644 --- a/tests/run.sh.in +++ b/tests/run.sh.in @@ -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'