1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 23:33:07 +00:00
os-autoinst-distri-fedora/tests/disk_custom_with_swap_postinstall.pm
Adam Williamson 1a65993d36 Add a perltidy check and apply it to the entire codebase
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-28 14:38:38 -07:00

20 lines
400 B
Perl

use base "installedtest";
use strict;
use testapi;
sub run {
assert_screen "root_console";
# this is basically asserting that if we list all swaps and grep
# out any zram ones, we still have one at prio -2, which should
# be the disk-based one
assert_script_run 'swapon --show | grep -v zram | grep "\-2"';
}
sub test_flags {
return {fatal => 1};
}
1;
# vim: set sw=4 et: