X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/4fc6b7570c3e97b65c118b58cdf6729fa94c9b03..2906182db398419a9c59a928b7ae73cf7c7aa307:/test/integration/test-bug-753297-upgradable diff --git a/test/integration/test-bug-753297-upgradable b/test/integration/test-bug-753297-upgradable index 53bf3361b..353728db0 100755 --- a/test/integration/test-bug-753297-upgradable +++ b/test/integration/test-bug-753297-upgradable @@ -1,8 +1,8 @@ #!/bin/sh set -e -TESTDIR=$(readlink -f $(dirname $0)) -. $TESTDIR/framework +TESTDIR="$(readlink -f "$(dirname "$0")")" +. "$TESTDIR/framework" setupenvironment configarchitecture 'i386' @@ -26,8 +26,10 @@ insertpackage 'testing' 'bar' 'all' '2' setupaptarchive testsuccessequal "Listing... -bar/testing 2 all [upgradable from: 1]" apt list --upgradable +bar/testing 2 all [upgradable from: 1] +N: There is 1 additional version. Please use the '-a' switch to see it" apt list --upgradable testsuccessequal "Listing... bar/testing 2 all [upgradable from: 1] +dpkg/now 1.16.2+fake all [installed,local] foo/testing,now 1 all [installed]" apt list