summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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