summaryrefslogtreecommitdiff
path: root/test/integration/test-solver3-evaluation
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2026-02-17 09:58:46 +0000
committerJulian Andres Klode <jak@debian.org>2026-02-17 09:58:46 +0000
commitf6adace8d302fb72ab92646cbd49f9560fa1ad6a (patch)
tree9b82dec92f02559b91a2cf307044ecedcde4ab34 /test/integration/test-solver3-evaluation
parent1275e2e0ec45e9cdbfeedfa2c069274d80499fa8 (diff)
parent9f3ecca2b32e4fe56a05811392e01416092f85fa (diff)
Merge branch 'solver3-upgrade-by-source' into 'main'
solver3: Upgrade by source package See merge request apt-team/apt!553
Diffstat (limited to 'test/integration/test-solver3-evaluation')
-rwxr-xr-xtest/integration/test-solver3-evaluation31
1 files changed, 0 insertions, 31 deletions
diff --git a/test/integration/test-solver3-evaluation b/test/integration/test-solver3-evaluation
index 06edb4962..b750b9245 100755
--- a/test/integration/test-solver3-evaluation
+++ b/test/integration/test-solver3-evaluation
@@ -185,34 +185,3 @@ ErrorMessage:
AptSolverDump:
$(cat rootdir/var/log/apt/edsp.log.zst | base64 | sed 's#^# #')" cat rootdir/var/crash/apt-edsp.$(id -u).crash
-msgmsg "Test that more upgrades are not better in installs"
-# FIXME: This will fail once 3.0 solver tries upgrading by source package.
-insertinstalledpackage 'b' 'all' '2' 'Source: src'
-insertinstalledpackage 'c' 'all' '2' 'Source: src'
-
-# No "Writing error report..."
-testsuccess rm rootdir/var/crash/apt-edsp.$(id -u).crash
-testsuccessequal "Reading package lists...
-Building dependency tree...
-Solving dependencies...
-The following additional packages will be installed:
- c
-The following packages will be upgraded:
- b c
-2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
-Inst b [2] (3 unstable [all])
-Inst c [2] (3 unstable [all])
-Conf b (3 unstable [all])
-Conf c (3 unstable [all])" apt install --solver internal b -s
-
-testfailure test -e rootdir/var/crash/apt-edsp.$(id -u).crash
-
-# Safety check to check that the 3.0 result actually looks worse
-testsuccessequal "Reading package lists...
-Building dependency tree...
-Solving dependencies...
-The following packages will be upgraded:
- b
-1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
-Inst b [2] (3 unstable [all])
-Conf b (3 unstable [all])" apt install --solver 3.0 b -s