]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-679371-apt-get-autoclean-multiarch
tests: check apt-get source release name switching with -t
[apt.git] / test / integration / test-bug-679371-apt-get-autoclean-multiarch
index b62d437aa608d7907afcbcf48e2c902bcfb88241..a9436fa11c9d6fdf1de96246249400de93696ebf 100755 (executable)
@@ -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