From 92094f26f2f5256c8353f9aeeebdd32678c7ef78 Mon Sep 17 00:00:00 2001 From: shirisha Ganta Date: Tue, 10 Dec 2019 14:04:18 +0530 Subject: [PATCH] servicelog.py: servicelog_notify verification we are getting failures To get rid of those failures,I have put a condition to check Signed-off-by: shirisha Ganta --- ras/servicelog.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ras/servicelog.py b/ras/servicelog.py index 479a4aa5b..b3bc4bd13 100755 --- a/ras/servicelog.py +++ b/ras/servicelog.py @@ -115,6 +115,7 @@ def test_servicelog_notify(self): ids = self.run_cmd_out("servicelog_notify --list --command=%s | " "grep \"Servicelog ID:\" | cut -d\":\" -f2 | sed 's/^ *//'" % notify_script) + ids = ids.split() self.log.info("=====6 - Checking if servicelog_notify --list, " "lists the command just added =======") for id in ids: