wait for Password: prompt

This commit is contained in:
Garret Raziel 2015-03-11 16:35:54 +01:00 committed by geekotest
parent 3863d840b0
commit b8e011e2ff
3 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,18 @@
{
"tags": [
"password_required",
"ENV-DISTRI-fedora",
"ENV-INSTLANG-en_US",
"ENV-FLAVOR-server"
],
"area": [
{
"xpos": 0,
"ypos": 79,
"width": 72,
"height": 21,
"type": "match"
}
],
"properties": []
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 958 B

View File

@ -20,6 +20,7 @@ sub run {
{
type_string get_var("USER_LOGIN");
send_key "ret";
assert_screen "password_required", 10;
type_string get_var("USER_PASSWORD");
send_key "ret";
assert_screen "user_logged_in", 10;
@ -38,6 +39,7 @@ sub run {
type_string "root";
send_key "ret";
}
assert_screen "password_required", 10;
type_string get_var("ROOT_PASSWORD");
send_key "ret";
assert_screen "root_logged_in", 10;