mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-05 02:56:26 +00:00
28 lines
575 B
Perl
28 lines
575 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 'df;lsblk';
|
|
script_run 'mokutil --sb-state';
|
|
}
|
|
|
|
sub test_flags {
|
|
return {fatal => 1};
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|