2015-09-15 09:04:01 +00:00
|
|
|
use base "installedtest";
|
|
|
|
use strict;
|
|
|
|
use testapi;
|
|
|
|
|
|
|
|
sub run {
|
|
|
|
my $self=shift;
|
|
|
|
if (not( check_screen "root_console", 0)) {
|
|
|
|
$self->root_console(tty=>3);
|
|
|
|
}
|
|
|
|
assert_screen "root_console";
|
|
|
|
# this test shows if the system is booted with efi
|
2016-01-12 17:27:14 +00:00
|
|
|
assert_script_run '[ -d /sys/firmware/efi/ ]';
|
2015-09-15 09:04:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sub test_flags {
|
|
|
|
# without anything - rollback to 'lastgood' snapshot if failed
|
|
|
|
# 'fatal' - whole test suite is in danger if this fails
|
|
|
|
# 'milestone' - after this test succeeds, update 'lastgood'
|
|
|
|
# 'important' - if this fails, set the overall state to 'fail'
|
|
|
|
return { fatal => 1 };
|
|
|
|
}
|
|
|
|
|
|
|
|
1;
|
|
|
|
|
|
|
|
# vim: set sw=4 et:
|