Another attempt
Some checks failed
CI via Tox and perl / tox (pull_request) Successful in 2m16s
CI via Tox and perl / perl (pull_request) Successful in 4m5s
CI via Tox and perl / checkwiki (pull_request) Failing after 1m21s

This commit is contained in:
Lukáš Růžička 2026-04-28 11:38:40 +02:00
commit 8345550134

View file

@ -15,8 +15,7 @@ sub run {
# Remove the user clear the system and force the gnome-initial-setup
# to start on new boot.
assert_script_run("loginctl terminate-user $username");
assert_script_run("loginctl kill-user $username");
assert_script_run("loginctl kill-user $username", timeout => 120);
# closing the user might switch us back to GDM, switch away if so
$self->root_console(tty => 3) if (check_screen 'graphical_login', timeout => 30);
# check until all user processes are terminated, then proceed and delete the user