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:
parent
9d985d8ebd
commit
b2139bf2dd
@ -17,6 +17,7 @@ sub test_routine {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
|
my $self = shift;
|
||||||
bypass_1691487 unless (get_var("DESKTOP"));
|
bypass_1691487 unless (get_var("DESKTOP"));
|
||||||
# switch to TTY3 for both graphical and console tests
|
# switch to TTY3 for both graphical and console tests
|
||||||
$self->root_console(tty=>3);
|
$self->root_console(tty=>3);
|
||||||
@ -26,7 +27,7 @@ sub run {
|
|||||||
type_safely "reboot\n";
|
type_safely "reboot\n";
|
||||||
# This time, we will need to login manually.
|
# This time, we will need to login manually.
|
||||||
boot_to_login_screen;
|
boot_to_login_screen;
|
||||||
console_login;
|
$self->root_console(tty=>3);
|
||||||
|
|
||||||
# Run the tests for the second time.
|
# Run the tests for the second time.
|
||||||
test_routine();
|
test_routine();
|
||||||
|
Loading…
Reference in New Issue
Block a user