]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-753297-upgradable
correct cross & disappear progress detection
[apt.git] / test / integration / test-bug-753297-upgradable
index 53bf3361beeddfc14c6521184b97e4bb76476b4a..353728db02d20c0406d55e75e62955b2e38f4f85 100755 (executable)
@@ -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