os-autoinst-distri-rocky/tests/applications/disks/format_partition.pm

24 lines
364 B
Perl
Raw Normal View History

2024-11-12 19:27:36 +00:00
use base "installedtest";
use strict;
use testapi;
use utils;
use disks;
# This script will test if Disks can format an empty
# partition.
sub run {
# Select the test loop disk.
assert_and_click("disks_loopdisk_listed");
# Format partition
format_partition("one", "swap", "backup");
}
sub test_flags {
return {always_rollback => 1};
}
1;