summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2026-01-20 13:57:33 +0000
committerJulian Andres Klode <jak@debian.org>2026-01-20 13:57:33 +0000
commit9cb74f8992db1d21b091147ca3791531b3c43a73 (patch)
tree80f46c6ca2d0fd35e66a3d7d054cd33e0934f813 /test
parent7fcbb7f89aa22af8761b878927330468193c5806 (diff)
parent34876ed2e5cdf504e2a4f9721486d279ae5f3be6 (diff)
Merge branch 'solver3-why' into 'main'
why: Render info about all providers on virtual packages See merge request apt-team/apt!545
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/test-apt-cli-why7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/integration/test-apt-cli-why b/test/integration/test-apt-cli-why
index 8a4c94b30..8bcd0c4d9 100755
--- a/test/integration/test-apt-cli-why
+++ b/test/integration/test-apt-cli-why
@@ -13,6 +13,8 @@ insertpackage 'unstable' 'other-level-2' 'all' '1' 'Conflicts: level-2
Provides: level-2'
insertpackage 'unstable' 'almost-level-2' 'all' '1' 'Conflicts: level-2'
insertpackage 'unstable' 'level-3' 'all' '1' 'Conflicts: level-3'
+insertpackage 'unstable' 'provider-for-virtual-package' 'all' '1' 'Provides: virtual-package'
+insertpackage 'unstable' 'depends-on-not-really-virtual-package' 'all' '1' 'Depends: not-really-virtual-package'
setupaptarchive
testsuccess aptmark auto level-1 level-2
@@ -69,3 +71,8 @@ For context, additional choices that could not be installed:
testsuccessequal "level-3:amd64 is undecided" apt why level-3
+
+testsuccessequal "virtual-package:amd64 is a virtual package, printing all providers
+provider-for-virtual-package:amd64=1 is undecided" apt why virtual-package
+testsuccessequal "not-really-virtual-package:amd64 is a virtual package without a provider" apt why not-really-virtual-package
+