]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-cache
use filesize of compressed pdiffs for the limit if possible
[apt.git] / test / integration / test-apt-cache
index daa5974a134f12bcbae4809cebbb03b8523ae33e..48d623596d5974bcf508107567a2638022bb37f0 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 'amd64' 'i386'
@@ -46,14 +46,14 @@ testsuccess aptcache dump
 cp rootdir/tmp/testsuccess.output dump.output
 testsuccess test -s dump.output
 
-testsuccessequal 'dpkg
-bar
+testsuccessequal 'bar
+foo
+dpkg
 specific
-fancy
-foo' aptcache pkgnames
+fancy' aptcache pkgnames
 testsuccessequal 'bar' aptcache pkgnames bar
-testsuccessequal 'fancy
-foo' aptcache pkgnames f
+testsuccessequal 'foo
+fancy' aptcache pkgnames f
 
 testsuccessequal "       foo |          1 | file:$(readlink -f .)/aptarchive unstable/main all Packages" aptcache madison foo