From f17371c879bd4eedb0fee56ded4bc8a9b766c8e3 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Tue, 16 Sep 2025 08:29:39 +0200 Subject: Let APT::Get::Mark-Auto satisfy APT::Get::Build-Dep-Automatic This allows: apt build-dep --mark-auto apt Closes: #973260 --- test/integration/test-bug-720597-build-dep-purge | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test') 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 -- cgit v1.2.3-70-g09d2