diff --git a/tests/_console_shutdown.pm b/tests/_console_shutdown.pm index 3acaa1ff..e9cbbc67 100644 --- a/tests/_console_shutdown.pm +++ b/tests/_console_shutdown.pm @@ -11,6 +11,10 @@ sub run { # console and run 'poweroff'. We can write separate tests for # properly testing shutdown/reboot/log out from desktops. $self->root_console(tty=>4); + # disable the hidden grub menu on Workstation, so post-install + # tests that need to edit boot params will see it. Don't use + # assert_script_run as this will fail when it's not set + script_run("grub2-editenv - unset menu_auto_hide", 0); script_run("poweroff", 0); assert_shutdown 180; }