feat: purge selected packages in one transaction
This commit is contained in:
1 parent
2aa0a21056
commit
57a3dc97d6
5 files changed
+222
-67
No files matched your search
@@ -785,3 +785,13 @@ zypp_conf() { # a "real" zypp.conf + locks file with one user lock, in the test
|
||||
refute_output --partial 'skeptical-updater.'
|
||||
[[ ! -e $STATE/zypper-private ]]
|
||||
}
|
||||
|
||||
@test "pacman: dependent and dependency are simulated and purged together" {
|
||||
use_fakes pacman
|
||||
run skup --no-refresh <<<$'2x 1x\ny\nq'
|
||||
assert_success
|
||||
assert_line 'Purge su-dummy-a su-dummy-b now? [y/N] y'
|
||||
assert_line 'purged: su-dummy-a su-dummy-b'
|
||||
log_has 'pacman -Rs --print --print-format %n -- su-dummy-a su-dummy-b'
|
||||
log_has 'pacman -Rns --noconfirm -- su-dummy-a su-dummy-b'
|
||||
}
|
||||
Reference in new issue
Block a user