From c2b5698fcef4fcfa35f5ea71f57d086b342fd65f Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 22 Jan 2026 14:45:59 -0800 Subject: [PATCH] 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 --- tests/disk_custom_with_swap_postinstall.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/disk_custom_with_swap_postinstall.pm b/tests/disk_custom_with_swap_postinstall.pm index bf81a63f..48dce8eb 100644 --- a/tests/disk_custom_with_swap_postinstall.pm +++ b/tests/disk_custom_with_swap_postinstall.pm @@ -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 {