summaryrefslogtreecommitdiff
path: root/test/integration/test-bug-679371-apt-get-autoclean-multiarch
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/test-bug-679371-apt-get-autoclean-multiarch')
-rwxr-xr-xtest/integration/test-bug-679371-apt-get-autoclean-multiarch9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/integration/test-bug-679371-apt-get-autoclean-multiarch b/test/integration/test-bug-679371-apt-get-autoclean-multiarch
index ba6857b73..3de7d69f9 100755
--- a/test/integration/test-bug-679371-apt-get-autoclean-multiarch
+++ b/test/integration/test-bug-679371-apt-get-autoclean-multiarch
@@ -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...