summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2024-05-23 13:24:25 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2024-05-24 17:01:55 +0200
commit4a2b89be6fa73b9c193d5b70e11a9305272efc3e (patch)
tree0f1738842318b9d09911ee040e18801c47a32143 /test
parentaaa9e415ce48964726401462767d6038da6d82e7 (diff)
solver3: Fix translations of removals for marked install
We also need to issue a MarkDelete() if the package is marked for installation currently but should not be, not only if it did not have a previous version. This fixes the final test in test-multiarch-barbarian, the others only needed adjustments to mark all packages as automatic.
Diffstat (limited to 'test')
-rw-r--r--test/integration/solver3.broken1
-rwxr-xr-xtest/integration/test-multiarch-barbarian1
2 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/solver3.broken b/test/integration/solver3.broken
index 6575b068d..75ddbe5df 100644
--- a/test/integration/solver3.broken
+++ b/test/integration/solver3.broken
@@ -20,7 +20,6 @@ test-dont-forget-conflicts-via-unknown-architectures
test-explore-or-groups-in-markinstall
test-external-dependency-solver-protocol
test-method-mirror
-test-multiarch-barbarian
test-parse-all-archs-into-cache
test-phased-updates-new-depends
test-phased-updates-upgrade
diff --git a/test/integration/test-multiarch-barbarian b/test/integration/test-multiarch-barbarian
index 293f22735..b89783473 100755
--- a/test/integration/test-multiarch-barbarian
+++ b/test/integration/test-multiarch-barbarian
@@ -5,6 +5,7 @@ TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
+allowremovemanual
configarchitecture 'amd64' 'i386'
buildsimplenativepackage 'foreign-foo' 'amd64,i386' '1' 'stable' 'Multi-Arch: foreign