os-autoinst-distri-rocky/tests/uefi_postinstall.pm
Adam Williamson b81f681f02 Load us console layout in uefi_postinstall too
...since it runs during non-English tests on aarch64.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-06-25 11:28:12 -07:00

24 lines
459 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
sub run {
my $self=shift;
if (not( check_screen "root_console", 0)) {
$self->root_console(tty=>4);
}
assert_screen "root_console";
# for aarch64 non-english tests
console_loadkeys_us;
# this test shows if the system is booted with efi
assert_script_run '[ -d /sys/firmware/efi/ ]';
}
sub test_flags {
return { fatal => 1 };
}
1;
# vim: set sw=4 et: