add UEFI for blivet tests

Differential Revision: https://phab.qa.fedoraproject.org/D1201
This commit is contained in:
Jan Sedlák 2017-05-22 09:26:58 +02:00
parent 0b5f865c8f
commit 4114406668
9 changed files with 111 additions and 0 deletions

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 413,
"ypos": 194,
"width": 118,
"height": 19,
"type": "match"
}
],
"properties": [],
"tags": [
"anaconda_blivet_part_fs_efi_filesystem"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

View File

@ -963,6 +963,72 @@
}, },
test_suite => { name => "install_blivet_lvmthin" }, test_suite => { name => "install_blivet_lvmthin" },
}, },
{
machine => { name => "uefi" },
prio => 41,
product => {
arch => "x86_64",
distri => "fedora",
flavor => "universal",
version => "*",
},
test_suite => { name => "install_blivet_ext3" },
},
{
machine => { name => "uefi" },
prio => 41,
product => {
arch => "x86_64",
distri => "fedora",
flavor => "universal",
version => "*",
},
test_suite => { name => "install_blivet_btrfs" },
},
{
machine => { name => "uefi" },
prio => 51,
product => {
arch => "x86_64",
distri => "fedora",
flavor => "universal",
version => "*",
},
test_suite => { name => "install_blivet_no_swap" },
},
{
machine => { name => "uefi" },
prio => 41,
product => {
arch => "x86_64",
distri => "fedora",
flavor => "universal",
version => "*",
},
test_suite => { name => "install_blivet_xfs" },
},
{
machine => { name => "uefi" },
prio => 41,
product => {
arch => "x86_64",
distri => "fedora",
flavor => "universal",
version => "*",
},
test_suite => { name => "install_blivet_software_raid" },
},
{
machine => { name => "uefi" },
prio => 41,
product => {
arch => "x86_64",
distri => "fedora",
flavor => "universal",
version => "*",
},
test_suite => { name => "install_blivet_lvmthin" },
},
{ {
machine => { name => "64bit" }, machine => { name => "64bit" },
prio => 50, prio => 50,

View File

@ -10,6 +10,11 @@ sub run {
select_disks(); select_disks();
assert_and_click "anaconda_spoke_done"; assert_and_click "anaconda_spoke_done";
if (get_var("UEFI")) {
# if we're running on UEFI, we need esp
custom_blivet_add_partition(size => 512, mountpoint => '/boot/efi', filesystem => 'efi_filesystem');
}
custom_blivet_add_partition(size => 512, mountpoint => '/boot'); custom_blivet_add_partition(size => 512, mountpoint => '/boot');
custom_blivet_add_partition(size => 2048, filesystem => 'swap'); custom_blivet_add_partition(size => 2048, filesystem => 'swap');

View File

@ -10,6 +10,11 @@ sub run {
select_disks(); select_disks();
assert_and_click "anaconda_spoke_done"; assert_and_click "anaconda_spoke_done";
if (get_var("UEFI")) {
# if we're running on UEFI, we need esp
custom_blivet_add_partition(size => 512, mountpoint => '/boot/efi', filesystem => 'efi_filesystem');
}
custom_blivet_add_partition(size => 512, mountpoint => '/boot'); custom_blivet_add_partition(size => 512, mountpoint => '/boot');
custom_blivet_add_partition(size => 2048, filesystem => 'swap'); custom_blivet_add_partition(size => 2048, filesystem => 'swap');
custom_blivet_add_partition(filesystem => 'ext3', mountpoint => '/'); custom_blivet_add_partition(filesystem => 'ext3', mountpoint => '/');

View File

@ -10,6 +10,11 @@ sub run {
select_disks(); select_disks();
assert_and_click "anaconda_spoke_done"; assert_and_click "anaconda_spoke_done";
if (get_var("UEFI")) {
# if we're running on UEFI, we need esp
custom_blivet_add_partition(size => 512, mountpoint => '/boot/efi', filesystem => 'efi_filesystem');
}
custom_blivet_add_partition(size => 512, mountpoint => '/boot'); custom_blivet_add_partition(size => 512, mountpoint => '/boot');
# add new LVM device # add new LVM device
custom_blivet_add_partition(devicetype => 'lvm'); custom_blivet_add_partition(devicetype => 'lvm');

View File

@ -10,6 +10,11 @@ sub run {
select_disks(); select_disks();
assert_and_click "anaconda_spoke_done"; assert_and_click "anaconda_spoke_done";
if (get_var("UEFI")) {
# if we're running on UEFI, we need esp
custom_blivet_add_partition(size => 512, mountpoint => '/boot/efi', filesystem => 'efi_filesystem');
}
custom_blivet_add_partition(size => 512, mountpoint => '/boot'); custom_blivet_add_partition(size => 512, mountpoint => '/boot');
custom_blivet_add_partition(mountpoint => '/'); custom_blivet_add_partition(mountpoint => '/');

View File

@ -10,6 +10,11 @@ sub run {
select_disks(disks=>2); select_disks(disks=>2);
assert_and_click "anaconda_spoke_done"; assert_and_click "anaconda_spoke_done";
if (get_var("UEFI")) {
# if we're running on UEFI, we need esp
custom_blivet_add_partition(size => 512, mountpoint => '/boot/efi', filesystem => 'efi_filesystem');
}
custom_blivet_add_partition(size => 512, mountpoint => '/boot'); custom_blivet_add_partition(size => 512, mountpoint => '/boot');
custom_blivet_add_partition(size => 2048, filesystem => 'swap'); custom_blivet_add_partition(size => 2048, filesystem => 'swap');
custom_blivet_add_partition(raid1 => 1, mountpoint => '/'); custom_blivet_add_partition(raid1 => 1, mountpoint => '/');

View File

@ -10,6 +10,11 @@ sub run {
select_disks(); select_disks();
assert_and_click "anaconda_spoke_done"; assert_and_click "anaconda_spoke_done";
if (get_var("UEFI")) {
# if we're running on UEFI, we need esp
custom_blivet_add_partition(size => 512, mountpoint => '/boot/efi', filesystem => 'efi_filesystem');
}
custom_blivet_add_partition(size => 512, mountpoint => '/boot'); custom_blivet_add_partition(size => 512, mountpoint => '/boot');
custom_blivet_add_partition(size => 2048, filesystem => 'swap'); custom_blivet_add_partition(size => 2048, filesystem => 'swap');
custom_blivet_add_partition(filesystem => 'xfs', mountpoint => '/'); custom_blivet_add_partition(filesystem => 'xfs', mountpoint => '/');