1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-09 01:04:20 +00:00
os-autoinst-distri-fedora/tests/applications/disks/resize_partition.pm
2023-05-12 17:05:44 -07:00

29 lines
596 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
use disks;
# This script will test if Disks can resize a partition and
# put a new partition after the resized one.
sub run {
# Select the test loop disk.
assert_and_click("disks_loopdisk_listed");
# Resize the second partition
resize_partition("two", "320");
# Add a new partition to the remainaing space
assert_and_click("disks_free_space");
# Create another partition in the remaining space.
create_partition("terciavolta", "full");
}
sub test_flags {
return {always_rollback => 1};
}
1;