1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-09-25 23:57:21 +00:00

Fully fix the reboot unmount test

OK, we need to define $self. And we're also gonna need to login
a bit harder later too.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-01-24 12:30:58 +01:00
parent 9d985d8ebd
commit b2139bf2dd

View File

@ -17,6 +17,7 @@ sub test_routine {
}
sub run {
my $self = shift;
bypass_1691487 unless (get_var("DESKTOP"));
# switch to TTY3 for both graphical and console tests
$self->root_console(tty=>3);
@ -26,7 +27,7 @@ sub run {
type_safely "reboot\n";
# This time, we will need to login manually.
boot_to_login_screen;
console_login;
$self->root_console(tty=>3);
# Run the tests for the second time.
test_routine();