summaryrefslogtreecommitdiff
path: root/test/integration/test-solver-recommends-depends
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2025-03-12 18:20:22 +0000
committerJulian Andres Klode <jak@debian.org>2025-03-12 18:20:22 +0000
commit1b9359cdda7c4bc33c4f526218f86634e2602e2d (patch)
tree4f8976929b79a6d6b63a9e1675cdd0f1e3021e41 /test/integration/test-solver-recommends-depends
parente7a777ce61efa97f90595be418d757a83483002b (diff)
parent460753f991ca42c3c4a5ed494038db76c55e2a08 (diff)
Merge branch 'solver3' into 'main'
solver3: Fix Recommends/Suggests vs Enhances confusion See merge request apt-team/apt!461
Diffstat (limited to 'test/integration/test-solver-recommends-depends')
-rwxr-xr-xtest/integration/test-solver-recommends-depends8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/integration/test-solver-recommends-depends b/test/integration/test-solver-recommends-depends
index 90c5050a7..4b2f91254 100755
--- a/test/integration/test-solver-recommends-depends
+++ b/test/integration/test-solver-recommends-depends
@@ -13,9 +13,17 @@ insertpackage 'unstable' 'x' 'all' '3' 'Depends: xx
Recommends: b'
insertpackage 'unstable' 'xx' 'all' '3' 'Depends: a | b
Recommends: b'
+insertpackage 'installed,unstable' 'recommends-and-enhances' 'all' '3' 'Recommends: b
+Enhances:b'
setupaptarchive
+msgmsg "Test that the Enhances does not confuse the Recommends algorithm"
+testsuccessequal "Reading package lists...
+Building dependency tree...
+Calculating upgrade...
+0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded." apt full-upgrade -s
+
msgmsg "Test that the Recommends does not influence the Depends"
testsuccessequal "The following additional packages will be installed:
a b