1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2026-09-03 01:15:59 +00:00

disk_custom_with_swap_postinstall: accept -1 priority

In today's Rawhide, the disk swap gets prio -1 not -2. Dunno why,
doesn't really matter, let's just accept it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2026-01-22 14:45:59 -08:00
parent 41df08d878
commit c2b5698fce

View File

@ -5,9 +5,9 @@ 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
# out any zram ones, we still have one at prio -2 or -1, which should
# be the disk-based one
assert_script_run 'swapon --show | grep -v zram | grep "\-2"';
assert_script_run 'swapon --show | grep -v zram | egrep "(-1|-2)"';
}
sub test_flags {