From af00b71790a4b6d7447f538672e4956f8e58f5f1 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 19 Sep 2016 16:17:26 -0700 Subject: [PATCH] use tty6 for installedtest post_fail_hook Summary: tty2 is where wayland desktop sessions run. I think it makes sense to use a high tty for the post_fail_hook, so we know the lower ones can be used by the tests... Test Plan: Run a Workstation post-install test that fails, check the hook works. Reviewers: jskladan, garretraziel Reviewed By: garretraziel Subscribers: tflink Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D1003 --- lib/installedtest.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/installedtest.pm b/lib/installedtest.pm index b63b6fdc..b48971d3 100644 --- a/lib/installedtest.pm +++ b/lib/installedtest.pm @@ -23,7 +23,7 @@ sub root_console { sub post_fail_hook { my $self = shift; - $self->root_console(tty=>2); + $self->root_console(tty=>6); # If /var/tmp/abrt directory isn't empty (ls doesn't return empty string) my $vartmp = script_output "ls /var/tmp/abrt";