From 7c78f9a710bd630bd0f256d829ac66c0b976235b Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 3 Jun 2019 15:32:25 -0700 Subject: [PATCH] Don't try bypass_1691487 for graphical base_selinux runs This just doesn't work when running the test on a graphical install because we're at a desktop when we try and do it, not a text console. So let's only try to do it if there is no DESKTOP. See e.g.: https://openqa.fedoraproject.org/tests/408484#step/base_selinux/2 Signed-off-by: Adam Williamson --- tests/base_selinux.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/base_selinux.pm b/tests/base_selinux.pm index dcff4497..c902a317 100644 --- a/tests/base_selinux.pm +++ b/tests/base_selinux.pm @@ -5,7 +5,7 @@ use utils; sub run { my $self=shift; - bypass_1691487; + bypass_1691487 unless (get_var("DESKTOP")); # switch to TTY3 for both, graphical and console tests $self->root_console(tty=>3); validate_script_output 'getenforce', sub { $_ =~ m/Enforcing/ };