summaryrefslogtreecommitdiff
path: root/test/integration/test-multiarch-allowed
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2020-05-04 09:28:11 +0000
committerJulian Andres Klode <jak@debian.org>2020-05-04 09:28:11 +0000
commit6e6a9331e6d27d371844ec98775619328526f33d (patch)
tree6201c01507e3db1e897918f3b8a03701bbca708f /test/integration/test-multiarch-allowed
parent9064a832bf2f02e2fd26c62ee867dd779797235a (diff)
parentae23e53f99ea0b7920744a7303fdee64796b7cce (diff)
Merge branch 'feature/markinstall' into 'master'
Refactor MarkInstall fixing various or-group handling issues See merge request apt-team/apt!117
Diffstat (limited to 'test/integration/test-multiarch-allowed')
-rwxr-xr-xtest/integration/test-multiarch-allowed11
1 files changed, 7 insertions, 4 deletions
diff --git a/test/integration/test-multiarch-allowed b/test/integration/test-multiarch-allowed
index 98555bc73..b74853993 100755
--- a/test/integration/test-multiarch-allowed
+++ b/test/integration/test-multiarch-allowed
@@ -64,12 +64,15 @@ Conf foo:i386 (1 unstable [i386])
Conf needsfoo:i386 (1 unstable [i386])' aptget install needsfoo:i386 -s
testfailureequal "$BADPREFIX
The following packages have unmet dependencies:
- needsfoo:i386 : Depends: foo:i386 but it is not going to be installed
-E: Unable to correct problems, you have held broken packages." aptget install needsfoo:i386 foo:amd64 -s
+ foo : Conflicts: foo:i386 but 1 is to be installed
+ foo:i386 : Conflicts: foo but 1 is to be installed
+E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages." aptget install needsfoo:i386 foo:amd64 -s
testfailureequal "$BADPREFIX
The following packages have unmet dependencies:
- needsfoo : Depends: foo but it is not going to be installed
-E: Unable to correct problems, you have held broken packages." aptget install needsfoo foo:i386 -s
+ foo : Conflicts: foo:i386 but 1 is to be installed
+ foo:i386 : Conflicts: foo but 1 is to be installed
+E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages." aptget install needsfoo foo:i386 -s
+exit
solveableinsinglearch1() {
testsuccessequal "Reading package lists...