]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-679371-apt-get-autoclean-multiarch
fix file ownership tests to work on kfreebsd
[apt.git] / test / integration / test-bug-679371-apt-get-autoclean-multiarch
index ba6857b7341932acee17ef8ce59de5917dabe52c..3de7d69f9f5a71ba077edeb8263503f8bc82b16e 100755 (executable)
@@ -14,10 +14,13 @@ setupaptarchive
 
 changetowebserver
 
-aptget update -qq
-aptget install pkgall pkgnative pkgforeign -y -qq > /dev/null
+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...