diff --git a/tests/desktop_terminal.pm b/tests/desktop_terminal.pm index b9b69ce3..14f12017 100644 --- a/tests/desktop_terminal.pm +++ b/tests/desktop_terminal.pm @@ -11,8 +11,8 @@ sub run { wait_still_screen 5; # need to be root my $rootpass = get_var("ROOT_PASSWORD", "weakpassword"); - wait_screen_change { type_string "su\n", 20; }; - wait_still_screen 3; + type_string "su\n", 20; + assert_screen "console_password_required"; # can't use type_safely for now as current implementation relies # on screen change checks, and there is no screen change here type_string "$rootpass\n", 1;