From a20270e43095a69d591cd242cd9a37ea1336a162 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 9 Mar 2018 22:06:18 -0800 Subject: [PATCH] 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 --- tests/_collect_data.pm | 2 +- tests/_console_shutdown.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/_collect_data.pm b/tests/_collect_data.pm index 0214db92..f09d481d 100644 --- a/tests/_collect_data.pm +++ b/tests/_collect_data.pm @@ -4,7 +4,7 @@ use testapi; sub run { 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; upload_logs '/var/tmp/top.log'; unless (get_var("CANNED")) { diff --git a/tests/_console_shutdown.pm b/tests/_console_shutdown.pm index 7646bf94..3acaa1ff 100644 --- a/tests/_console_shutdown.pm +++ b/tests/_console_shutdown.pm @@ -10,7 +10,7 @@ sub run { # use the desktops' graphical shutdown methods, we just go to a # console and run 'poweroff'. We can write separate tests for # properly testing shutdown/reboot/log out from desktops. - $self->root_console(tty=>3); + $self->root_console(tty=>4); script_run("poweroff", 0); assert_shutdown 180; }