]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-753297-upgradable
test: Pass -maxdepth 1 when running find in methods dir
[apt.git] / test / integration / test-bug-753297-upgradable
index 53bf3361beeddfc14c6521184b97e4bb76476b4a..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'
 
@@ -26,7 +26,8 @@ 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]