]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-753297-upgradable
report warnings&errors consistently in edit-sources
[apt.git] / test / integration / test-bug-753297-upgradable
index 01395a095aa98a0520ab1cf82c8bc705a4d579cc..f33a6591d487fa36702bdec906a0f31098e2b6b7 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'
 
@@ -25,9 +25,10 @@ insertpackage 'testing' 'bar' 'all' '2'
 
 setupaptarchive
 
-testequal "Listing...
-bar/testing 2 all [upgradable from: 1]" apt list --upgradable
+testsuccessequal "Listing...
+bar/testing 2 all [upgradable from: 1]
+N: There is 1 additional version. Please use the '-a' switch to see it" apt list --upgradable
 
-testequal "Listing...
+testsuccessequal "Listing...
 bar/testing 2 all [upgradable from: 1]
 foo/testing,now 1 all [installed]" apt list