1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-21 21:43:08 +00:00

rescue_shell_prompt is really just a root console needle...

...so make it look like all the other ones we have already.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2019-04-12 15:54:26 -07:00
parent 33fd05f3d0
commit 33f63c3d95
4 changed files with 17 additions and 23 deletions

View File

@ -1,22 +0,0 @@
{
"area": [
{
"xpos": 0,
"ypos": 527,
"width": 21,
"height": 108,
"type": "match"
},
{
"xpos": 49,
"ypos": 528,
"width": 169,
"height": 16,
"type": "match"
}
],
"properties": [],
"tags": [
"rescue_shell_prompt"
]
}

View File

@ -0,0 +1,16 @@
{
"area": [
{
"height": 16,
"type": "match",
"width": 56,
"xpos": 0,
"ypos": 528
}
],
"properties": [],
"tags": [
"root_console",
"root_logged_in"
]
}

View File

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

@ -8,7 +8,7 @@ sub run {
# select rescue shell and expect shell prompt
type_string "3\n";
send_key "ret";
assert_screen "rescue_shell_prompt", 5; # should be shell prompt
assert_screen "root_console", 5; # should be shell prompt
assert_script_run "fdisk -l | head -n20";
assert_script_run "mkdir -p /hd";
assert_script_run "mount /dev/vdb1 /hd";