mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-18 12:33:09 +00:00
c0bad87836
This whole block where we do various things at the console after install completes was becoming a real mess. I had secret hopes of killing it entirely at some point, but...that doesn't look like it's gonna happen this century. So let's make it better instead. The conditionals were getting very nested and icky and it was hard to see what was actually going on. This rationalizes things so first we figure out all the things we might want to do at a console, then if we don't have anything to do at a console we go ahead and hit the reboot button; otherwise we go to the console and do all the things we need to do, including rebooting unless this is the memory check test. Signed-off-by: Adam Williamson <awilliam@redhat.com>
18 lines
235 B
Perl
18 lines
235 B
Perl
use base "anacondatest";
|
|
use strict;
|
|
use testapi;
|
|
|
|
sub run {
|
|
my $self = shift;
|
|
$self->root_console();
|
|
upload_logs '/tmp/memory.dat';
|
|
}
|
|
|
|
sub test_flags {
|
|
return { fatal => 1 };
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|