mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-25 14:41:27 +00:00
Move collect_data and console_shutdown to tty4...
...as somehow a Workstation live install currently has the desktop on tty3, I have no idea why (g-i-s not quitting right?) Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
f1913e8305
commit
a20270e430
@ -4,7 +4,7 @@ use testapi;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
$self->root_console(tty=>3);
|
$self->root_console(tty=>4);
|
||||||
assert_script_run 'top -i -n20 -b > /var/tmp/top.log', 120;
|
assert_script_run 'top -i -n20 -b > /var/tmp/top.log', 120;
|
||||||
upload_logs '/var/tmp/top.log';
|
upload_logs '/var/tmp/top.log';
|
||||||
unless (get_var("CANNED")) {
|
unless (get_var("CANNED")) {
|
||||||
|
@ -10,7 +10,7 @@ sub run {
|
|||||||
# use the desktops' graphical shutdown methods, we just go to a
|
# use the desktops' graphical shutdown methods, we just go to a
|
||||||
# console and run 'poweroff'. We can write separate tests for
|
# console and run 'poweroff'. We can write separate tests for
|
||||||
# properly testing shutdown/reboot/log out from desktops.
|
# properly testing shutdown/reboot/log out from desktops.
|
||||||
$self->root_console(tty=>3);
|
$self->root_console(tty=>4);
|
||||||
script_run("poweroff", 0);
|
script_run("poweroff", 0);
|
||||||
assert_shutdown 180;
|
assert_shutdown 180;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user