From bd75c48474521db18fb6840e9522bec46b0e60ed Mon Sep 17 00:00:00 2001 From: Jan David Mol <mol@astron.nl> Date: Fri, 18 Sep 2020 14:37:15 +0000 Subject: [PATCH] SW-931: Support tuned.service not being installed when confirming its inactive --- SubSystems/Online_Cobalt/validation/cobalt/system/tuned.test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SubSystems/Online_Cobalt/validation/cobalt/system/tuned.test b/SubSystems/Online_Cobalt/validation/cobalt/system/tuned.test index ac26530105b..97dc42a9dea 100755 --- a/SubSystems/Online_Cobalt/validation/cobalt/system/tuned.test +++ b/SubSystems/Online_Cobalt/validation/cobalt/system/tuned.test @@ -3,7 +3,8 @@ # Our own hostname must be resolvable for i in {201..213} ; do - ssh cbm$i systemctl status tuned.service | grep "Active: inactive" || exit 1 + # check for tuned.service to be NOT active, as we then also catch the case in which it is not installed in the first place + ssh cbm$i systemctl status tuned.service | grep "Active: active" && exit 1 done exit 0 -- GitLab