mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-24 14:53:09 +00:00
fixing some issues - doublequotes and type_string
This commit is contained in:
parent
65e4745eca
commit
f8f6d2f8bc
18
needles/console_command_success2.json
Normal file
18
needles/console_command_success2.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 13,
|
||||
"width": 204,
|
||||
"ypos": 16,
|
||||
"type": "match",
|
||||
"xpos": 0
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"console_command_success",
|
||||
"ENV-DISTRI-fedora",
|
||||
"ENV-INSTLANG-en_US",
|
||||
"ENV-FLAVOR-server"
|
||||
],
|
||||
"properties": []
|
||||
}
|
BIN
needles/console_command_success2.png
Normal file
BIN
needles/console_command_success2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 514 B |
18
needles/password_required2.json
Normal file
18
needles/password_required2.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"type": "match",
|
||||
"ypos": 95,
|
||||
"width": 72,
|
||||
"height": 21,
|
||||
"xpos": 0
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"password_required",
|
||||
"ENV-DISTRI-fedora",
|
||||
"ENV-INSTLANG-en_US",
|
||||
"ENV-FLAVOR-server"
|
||||
],
|
||||
"properties": []
|
||||
}
|
BIN
needles/password_required2.png
Normal file
BIN
needles/password_required2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
18
needles/root_logged_in2.json
Normal file
18
needles/root_logged_in2.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 0,
|
||||
"ypos": 110,
|
||||
"type": "match",
|
||||
"height": 22,
|
||||
"width": 156
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"root_logged_in",
|
||||
"ENV-DISTRI-fedora",
|
||||
"ENV-INSTLANG-en_US",
|
||||
"ENV-FLAVOR-server"
|
||||
],
|
||||
"properties": []
|
||||
}
|
BIN
needles/root_logged_in2.png
Normal file
BIN
needles/root_logged_in2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
@ -4,10 +4,10 @@ use testapi;
|
||||
|
||||
sub run {
|
||||
assert_screen "root_logged_in";
|
||||
type_string "reset; mount /dev/vda2 /mnt; echo $?";
|
||||
type_string 'reset; mount /dev/vda2 /mnt; echo $?'; # if you use doublequotes, $? gets replaced by Perl with last error code
|
||||
send_key "ret";
|
||||
assert_screen "console_command_success";
|
||||
type_string "reset; cat /mnt/testfile";
|
||||
type_string 'reset; cat /mnt/testfile';
|
||||
send_key "ret";
|
||||
assert_screen "provided_second_partition_intact";
|
||||
}
|
||||
|
@ -4,10 +4,10 @@ use testapi;
|
||||
|
||||
sub run {
|
||||
assert_screen "root_logged_in";
|
||||
type_string "reset; mount /dev/vda1 /mnt; echo $?";
|
||||
type_string 'reset; mount /dev/vda1 /mnt; echo $?'; # if you use doublequotes, $? gets replaced by Perl with last error code
|
||||
send_key "ret";
|
||||
assert_screen "console_command_success";
|
||||
type_string "reset; cat /mnt/testfile";
|
||||
type_string 'reset; cat /mnt/testfile';
|
||||
send_key "ret";
|
||||
assert_screen "provided_disk_intact";
|
||||
}
|
||||
|
@ -4,10 +4,10 @@ use testapi;
|
||||
|
||||
sub run {
|
||||
assert_screen "root_logged_in";
|
||||
type_string "reset; mount /dev/sdb1 /mnt; echo $?";
|
||||
type_string 'reset; mount /dev/sdb1 /mnt; echo $?'; # if you use doublequotes, $? gets replaced by Perl with last error code
|
||||
send_key "ret";
|
||||
assert_screen "console_command_success";
|
||||
type_string "reset; cat /mnt/testfile";
|
||||
type_string 'reset; cat /mnt/testfile';
|
||||
send_key "ret";
|
||||
assert_screen "provided_disk_intact";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user