summaryrefslogtreecommitdiff
path: root/test/integration
diff options
context:
space:
mode:
authorJochen Sprickerhof <jspricke@debian.org>2025-09-16 08:29:39 +0200
committerJulian Andres Klode <jak@debian.org>2025-10-07 10:25:20 +0000
commitf17371c879bd4eedb0fee56ded4bc8a9b766c8e3 (patch)
tree7a510b2eb336a12f141d7320a4b17938270040b9 /test/integration
parent8066395be320ea253d9d973bb55abeb5b4e1e3b2 (diff)
Let APT::Get::Mark-Auto satisfy APT::Get::Build-Dep-Automatic
This allows: apt build-dep --mark-auto apt Closes: #973260
Diffstat (limited to 'test/integration')
-rwxr-xr-xtest/integration/test-bug-720597-build-dep-purge9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/integration/test-bug-720597-build-dep-purge b/test/integration/test-bug-720597-build-dep-purge
index 9ff0d23f4..2e0186596 100755
--- a/test/integration/test-bug-720597-build-dep-purge
+++ b/test/integration/test-bug-720597-build-dep-purge
@@ -64,3 +64,12 @@ The following packages will be REMOVED:
pkgb
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Remv pkgb [1]' apt autoremove -s
+testsuccess apt purge pkgb pkgc -y
+testsuccess apt build-dep pkgc -y --mark-auto
+testsuccessequal 'Reading package lists...
+Building dependency tree...
+Reading state information...
+The following packages will be REMOVED:
+ pkgb
+0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
+Remv pkgb [1]' apt autoremove -s