1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 23:33:07 +00:00

Add a workaround for #1699099 so update tests don't fail on it

No purpose is being served by all update tests failing on this
bug, so let's try and work around it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2019-04-12 18:55:17 -07:00
parent 2754deb28a
commit 785eaffb3a

View File

@ -130,6 +130,16 @@ sub run {
$self->root_console(timeout=>30); $self->root_console(timeout=>30);
enable_abrt_and_quit(); enable_abrt_and_quit();
} }
elsif (get_var("VERSION") eq "30" || get_var("VERSION") eq "Rawhide") {
if (get_var("DESKTOP") eq "gnome") {
# FIXME workaround for
# https://bugzilla.redhat.com/show_bug.cgi?id=1699099
# remove when fixed
$self->root_console(timeout=>30);
assert_script_run 'sed -i -e "s,SELINUX=enforcing,SELINUX=permissive,g" /mnt/sysimage/etc/selinux/config';
type_string "reboot\n" unless (get_var("LIVE"));
}
}
else { else {
assert_and_click "anaconda_install_done"; assert_and_click "anaconda_install_done";
} }