]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-679371-apt-get-autoclean-multiarch
test/integration/test-essential-force-loopbreak: fix on non-amd64 systems
[apt.git] / test / integration / test-bug-679371-apt-get-autoclean-multiarch
index b62d437aa608d7907afcbcf48e2c902bcfb88241..3de7d69f9f5a71ba077edeb8263503f8bc82b16e 100755 (executable)
@@ -17,7 +17,10 @@ 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...
 Building dependency tree...