From e51c454e3bfbc4939c962d93742078e6f272ab72 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Feb 27 2025 23:35:41 +0000 Subject: rpmostree_rebase: avoid rebase from 42 to 41 it doesn't work, and now 43 is a thing we can use that. Signed-off-by: Adam Williamson --- diff --git a/tests/rpmostree_rebase.pm b/tests/rpmostree_rebase.pm index e91d97c..d1cef70 100644 --- a/tests/rpmostree_rebase.pm +++ b/tests/rpmostree_rebase.pm @@ -45,6 +45,8 @@ sub run { elsif ($current =~ "silverblue") { my $relnum = get_release_number; $rebase = $relnum - 1; + # special case: rebasing from >41 to 41 doesn't work + $rebase = 43 if ($rebase == 41); # on update tests, just rebase to the 'official' ref for the # release, as opposed to the custom ref we used when building; # this should be more reliable than a different release