mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-22 05:01:25 +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:
parent
33fd05f3d0
commit
33f63c3d95
@ -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"
|
|
||||||
]
|
|
||||||
}
|
|
16
needles/console/root_logged_in-noprofile-sh44.json
Normal file
16
needles/console/root_logged_in-noprofile-sh44.json
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"height": 16,
|
||||||
|
"type": "match",
|
||||||
|
"width": 56,
|
||||||
|
"xpos": 0,
|
||||||
|
"ypos": 528
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"root_console",
|
||||||
|
"root_logged_in"
|
||||||
|
]
|
||||||
|
}
|
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.9 KiB |
@ -8,7 +8,7 @@ sub run {
|
|||||||
# select rescue shell and expect shell prompt
|
# select rescue shell and expect shell prompt
|
||||||
type_string "3\n";
|
type_string "3\n";
|
||||||
send_key "ret";
|
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 "fdisk -l | head -n20";
|
||||||
assert_script_run "mkdir -p /hd";
|
assert_script_run "mkdir -p /hd";
|
||||||
assert_script_run "mount /dev/vdb1 /hd";
|
assert_script_run "mount /dev/vdb1 /hd";
|
||||||
|
Loading…
Reference in New Issue
Block a user