os-autoinst-distri-rocky/tests/disk_custom_no_swap_postinstall.pm

18 lines
298 B
Perl
Raw Normal View History

use base "installedtest";
use strict;
use testapi;
sub run {
assert_screen "root_console";
# check that swap is not used, check that "swapon --show has empty input"
assert_script_run '[[ ! $(swapon --show) ]]';
}
sub test_flags {
return { fatal => 1 };
}
1;
# vim: set sw=4 et: