1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 10:23:09 +00:00

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 <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2019-06-03 15:32:25 -07:00
parent 7953fb91d1
commit 7c78f9a710

View File

@ -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/ };