mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-18 03:01:26 +00:00
27 lines
548 B
Perl
27 lines
548 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/ ]';
|
|
# this test shows if the system is secure boot
|
|
script_run 'mokutil --sb-state';
|
|
}
|
|
|
|
sub test_flags {
|
|
return {fatal => 1};
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|