2015-08-05 06:23:59 +00:00
|
|
|
use base "installedtest";
|
2015-02-04 16:16:21 +00:00
|
|
|
use strict;
|
|
|
|
use testapi;
|
|
|
|
|
|
|
|
sub run {
|
2016-07-08 15:56:57 +00:00
|
|
|
my $self = shift;
|
|
|
|
my $wait_time = 300;
|
|
|
|
# if we're running an upgrade, we must wait for the entire upgrade
|
|
|
|
# process to run
|
|
|
|
$wait_time = 6000 if (get_var("UPGRADE"));
|
2015-08-05 06:23:59 +00:00
|
|
|
# decrypt disks during boot
|
2017-03-02 22:32:17 +00:00
|
|
|
boot_decrypt($wait_time);
|
2015-02-04 16:16:21 +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:
|