]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-679371-apt-get-autoclean-multiarch
zh_TW.po: remove several fuzzy tags after review
[apt.git] / test / integration / test-bug-679371-apt-get-autoclean-multiarch
index b62d437aa608d7907afcbcf48e2c902bcfb88241..47e5aa184415f425f13ea67808bc947689a2fd4a 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'
 
@@ -17,8 +17,11 @@ changetowebserver
 testsuccess aptget update
 testsuccess aptget install pkgall pkgnative pkgforeign -y
 
-testdpkginstalled pkgall pkgnative pkgforeign
+# if we work with an old dpkg, pkgforeign will be listed differently,
+# so test with aptcache for install status instead
+testdpkginstalled pkgall pkgnative
+testsuccess aptcache show pkgforeign/installed
 
-testequal 'Reading package lists...
+testsuccessequal 'Reading package lists...
 Building dependency tree...
 Reading state information...' aptget autoclean -s