From c6fac006986abaf8ea9ba8914c942ec7f7e5a25a Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 4 Jan 2019 13:55:31 -0800 Subject: [PATCH] More fixing of the workaround... Signed-off-by: Adam Williamson --- tests/_boot_to_anaconda.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/_boot_to_anaconda.pm b/tests/_boot_to_anaconda.pm index 69918b26..48fd824d 100644 --- a/tests/_boot_to_anaconda.pm +++ b/tests/_boot_to_anaconda.pm @@ -53,12 +53,12 @@ sub run { # workaround RHBZ #1663040 if necessary assert_screen "live_start_anaconda_icon", 300; $self->root_console(timeout=>30); - unless (script_run "systemctl --is-failed systemd-hostnamed.service") { + unless (script_run "systemctl is-failed systemd-hostnamed.service") { record_soft_failure "systemd-hostnamed.service failed - likely RHBZ #1663040"; assert_script_run "setenforce Permissive"; assert_script_run "systemctl restart systemd-hostnamed.service"; - desktop_vt; } + desktop_vt; } assert_and_click "live_start_anaconda_icon", '', 300; }