1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-22 05:53:09 +00:00

fixing some issues - doublequotes and type_string

This commit is contained in:
Garret Raziel 2015-03-13 12:58:03 +01:00 committed by geekotest
parent 65e4745eca
commit f8f6d2f8bc
9 changed files with 60 additions and 6 deletions

View 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": []
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 514 B

View 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": []
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -4,10 +4,10 @@ use testapi;
sub run { sub run {
assert_screen "root_logged_in"; 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"; send_key "ret";
assert_screen "console_command_success"; assert_screen "console_command_success";
type_string "reset; cat /mnt/testfile"; type_string 'reset; cat /mnt/testfile';
send_key "ret"; send_key "ret";
assert_screen "provided_second_partition_intact"; assert_screen "provided_second_partition_intact";
} }

View File

@ -4,10 +4,10 @@ use testapi;
sub run { sub run {
assert_screen "root_logged_in"; 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"; send_key "ret";
assert_screen "console_command_success"; assert_screen "console_command_success";
type_string "reset; cat /mnt/testfile"; type_string 'reset; cat /mnt/testfile';
send_key "ret"; send_key "ret";
assert_screen "provided_disk_intact"; assert_screen "provided_disk_intact";
} }

View File

@ -4,10 +4,10 @@ use testapi;
sub run { sub run {
assert_screen "root_logged_in"; 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"; send_key "ret";
assert_screen "console_command_success"; assert_screen "console_command_success";
type_string "reset; cat /mnt/testfile"; type_string 'reset; cat /mnt/testfile';
send_key "ret"; send_key "ret";
assert_screen "provided_disk_intact"; assert_screen "provided_disk_intact";
} }