1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-06-18 20:51:36 +00:00
os-autoinst-distri-fedora/tests/_uefi_no_fallback.pm
Adam Williamson 6381857741 Test that transient media don't create UEFI bootloader entries
Oh, no particular reason or anything. *ahem*
https://bugzilla.redhat.com/2358785
This should cover a decent range of transient bootable media,
ensuring the UEFI fallback mechanism doesn't kick in if you're
just booting the installer or live environment.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-16 15:50:27 -07:00

20 lines
338 B
Perl

use base "anacondatest";
use strict;
use testapi;
use utils;
sub run {
my $self = shift;
$self->root_console(tty => 3);
# Check that there is no 'Fedora' entry in UEFI boot manager
validate_script_output('efibootmgr', sub { $_ !~ m/.*Fedora.*/s });
}
sub test_flags {
return {fatal => 1};
}
1;
# vim: set sw=4 et: