2020-08-11 20:34:37 +00:00
|
|
|
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 {
|
2023-02-12 22:59:37 +00:00
|
|
|
return {fatal => 1};
|
2020-08-11 20:34:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
1;
|
|
|
|
|
|
|
|
# vim: set sw=4 et:
|