mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-09 23:11:24 +00:00
56060ff8bd
That whole creaky edifice of conditionals that figured out how many times to press 'down' was a mess I always hated, and I just found out that the fix for BLS wasn't complete - I'd assumed in writing it that systems weren't being migrated to BLS on upgrade to F30, but actually they are. This makes that design very hard as we'd have had to find a way to change the number of 'down' presses part-way through update tests, and all the ways I can think of to do that would've made this even sillier. Happily I managed to come up with what looks like a much simpler approach: just go from the bottom. It seems that in every setup I can think of to check - all three arches, BLS, no BLS, pre- install, post-install - the linux line is two lines up from the bottom of the config stanza (the last line is blank, and the last line but one is the initramfs line). So we can just press down 50 times (to make damn sure we're at the bottom) then press up twice and we should be in the right place, no matter the arch, the release, or if BLS is in use or not. Whew. Signed-off-by: Adam Williamson <awilliam@redhat.com> |
||
---|---|---|
.. | ||
anaconda.pm | ||
anacondatest.pm | ||
fedoradistribution.pm | ||
freeipa.pm | ||
installedtest.pm | ||
packagetest.pm | ||
tapnet.pm | ||
utils.pm |