summaryrefslogtreecommitdiffstats
path: root/test/integration/test-ubuntu-bug-1990586
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:00:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:00:48 +0000
commit851b6a097165af4d51c0db01b5e05256e5006896 (patch)
tree5f7c388ec894a7806c49a99f3bdb605d0b299a7c /test/integration/test-ubuntu-bug-1990586
parentInitial commit. (diff)
downloadapt-upstream.tar.xz
apt-upstream.zip
Adding upstream version 2.6.1.upstream/2.6.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xtest/integration/test-ubuntu-bug-199058642
1 files changed, 42 insertions, 0 deletions
diff --git a/test/integration/test-ubuntu-bug-1990586 b/test/integration/test-ubuntu-bug-1990586
new file mode 100755
index 0000000..415c502
--- /dev/null
+++ b/test/integration/test-ubuntu-bug-1990586
@@ -0,0 +1,42 @@
+#!/bin/sh
+set -e
+
+TESTDIR="$(readlink -f "$(dirname "$0")")"
+. "$TESTDIR/framework"
+
+setupenvironment
+
+configarchitecture 'amd64'
+
+noprogress() {
+ "$@" | sed /^Progress/d
+}
+
+# The important thing in this bug is that python3.10 and python3.10-defaults are phasing differently,
+# so both should be kept back rather than one causing tons of removals.
+# This should effectively be a no-op
+testsuccessequal "Percentage: 0
+Message: Start up solver…
+
+Percentage: 1
+Message: Read request…
+
+Percentage: 5
+Message: Read scenario…
+
+Percentage: 50
+Message: Apply request on scenario…
+
+Percentage: 60
+Message: Call problemresolver on current scenario…
+
+Percentage: 95
+Message: Write solution…
+
+Autoremove: 74428
+Package: systemd-hwe-hwdb:amd64
+Version: 249.11.1
+
+Percentage: 100
+Message: Done
+" noprogress runapt "${APTHELPERBINDIR}/solvers/apt" < $TESTDIR/edsp-ubuntu-bug-1990586