summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-update-nofallback
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-nofallback
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-nofallback')
-rwxr-xr-xtest/integration/test-apt-update-nofallback3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/integration/test-apt-update-nofallback b/test/integration/test-apt-update-nofallback
index 60f329a4a..47adff33d 100755
--- a/test/integration/test-apt-update-nofallback
+++ b/test/integration/test-apt-update-nofallback
@@ -41,7 +41,8 @@ N: See apt-secure(8) manpage for repository creation and user configuration deta
assert_repo_is_intact()
{
- testsuccessequal "foo/unstable 2.0 all" apt list -qq
+ testsuccessequal "dpkg/now 1.16.2+fake all [installed,local]
+foo/unstable 2.0 all" apt list -qq
testsuccess aptget install -y -s foo
testfailure aptget install -y evil
testsuccess aptget source foo --print-uris