mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-25 07:13:09 +00:00
Check password_required needle in desktop_terminal
...nope, wait_screen_change wasn't enough. Let's just assert the needle. Not sure if the existing one will work, if not we'll add one. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
e7853a56a8
commit
068879a04a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user