From 785eaffb3a83354df2769e6e88d18f7085709a5a Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 12 Apr 2019 18:55:17 -0700 Subject: [PATCH] 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 --- tests/_do_install_and_reboot.pm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/_do_install_and_reboot.pm b/tests/_do_install_and_reboot.pm index 84ed133d..a92884de 100644 --- a/tests/_do_install_and_reboot.pm +++ b/tests/_do_install_and_reboot.pm @@ -130,6 +130,16 @@ sub run { $self->root_console(timeout=>30); 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 { assert_and_click "anaconda_install_done"; }