summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-update-rollback
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-09-07 13:35:40 +0200
committerJulian Andres Klode <jak@debian.org>2016-09-07 14:00:38 +0200
commit561a3557e7fa6c4ed693c3bb486d189a468a8080 (patch)
tree468a045e06219fe9ee0a5f674170becd154c562c /test/integration/test-apt-update-rollback
parentc382e0dff11beb00632d67d9361831358a38e465 (diff)
test: Always install dpkg into our tests, regardless of MA
Even if we only configure a single architecture, install dpkg, so dpkg can assert multi arch correctly. This also has the nice side effect of making single architecture and multiple architecture test cases more uniform. This fixes a regression from f878d3a862128bc1385616751ae1d78246b1bd01 ("test: Assert multi-arch in the chroot").
Diffstat (limited to 'test/integration/test-apt-update-rollback')
-rwxr-xr-xtest/integration/test-apt-update-rollback6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/integration/test-apt-update-rollback b/test/integration/test-apt-update-rollback
index f9c55bc91..b5471dc6c 100755
--- a/test/integration/test-apt-update-rollback
+++ b/test/integration/test-apt-update-rollback
@@ -39,7 +39,8 @@ start_with_good_inrelease() {
create_fresh_archive
testsuccess aptget update
listcurrentlistsdirectory > lists.before
- testsuccessequal 'old/unstable 1.0 all' apt list -qq
+ testsuccessequal 'dpkg/now 1.16.2+fake all [installed,local]
+old/unstable 1.0 all' apt list -qq
}
test_inrelease_to_new_inrelease() {
@@ -48,7 +49,8 @@ test_inrelease_to_new_inrelease() {
add_new_package '+1hour'
testsuccess aptget update -o Debug::Acquire::Transaction=1
- testsuccessequal 'new/unstable 1.0 all
+ testsuccessequal 'dpkg/now 1.16.2+fake all [installed,local]
+new/unstable 1.0 all
old/unstable 1.0 all' apt list -qq
}