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

reintroduce rescue on UEFI

Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D1060
This commit is contained in:
Jan Sedlák 2016-12-13 09:18:34 +01:00
parent fbe5f0f1ba
commit 44cf1cd89c
2 changed files with 19 additions and 1 deletions

View File

@ -446,6 +446,17 @@
}, },
test_suite => { name => "install_rescue_encrypted" }, test_suite => { name => "install_rescue_encrypted" },
}, },
{
machine => { name => "uefi" },
prio => 32,
product => {
arch => "x86_64",
distri => "fedora",
flavor => "universal",
version => "*",
},
test_suite => { name => "install_rescue_encrypted" },
},
{ {
machine => { name => "64bit" }, machine => { name => "64bit" },
prio => 10, prio => 10,
@ -1586,6 +1597,7 @@
{ {
name => "install_rescue_encrypted", name => "install_rescue_encrypted",
settings => [ settings => [
{ key => "BOOTFROM", value => "d" },
{ key => "ENTRYPOINT", value => "rescue_mode_encrypted" }, { key => "ENTRYPOINT", value => "rescue_mode_encrypted" },
{ key => "HDD_1", value => "disk_%MACHINE%_encrypted.qcow2" }, { key => "HDD_1", value => "disk_%MACHINE%_encrypted.qcow2" },
{ key => "START_AFTER_TEST", value => "install_simple_encrypted" }, { key => "START_AFTER_TEST", value => "install_simple_encrypted" },

View File

@ -9,7 +9,13 @@ sub run {
send_key "down"; send_key "down";
send_key "ret"; send_key "ret";
# select "rescue system" # select "rescue system"
if (get_var('UEFI')) {
send_key "down";
send_key "ret";
}
else {
type_string "r\n"; type_string "r\n";
}
assert_screen "rescue_select", 120; # it takes time to start anaconda assert_screen "rescue_select", 120; # it takes time to start anaconda
# continue # continue