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
This commit is contained in:
Adam Williamson 2016-09-19 16:17:26 -07:00
parent c0b9bdb543
commit af00b71790

View File

@ -23,7 +23,7 @@ sub root_console {
sub post_fail_hook { sub post_fail_hook {
my $self = shift; 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) # If /var/tmp/abrt directory isn't empty (ls doesn't return empty string)
my $vartmp = script_output "ls /var/tmp/abrt"; my $vartmp = script_output "ls /var/tmp/abrt";