Verify dump after injecting host watchdog error
Resolves openbmc/openbmc-test-automation#1565
Change-Id: Ie1ac1015ce7b016845c79c31999a7ea6fe53798f
Signed-off-by: Anusha Dathatri <adathatr@in.ibm.com>
diff --git a/lib/common_utils.robot b/lib/common_utils.robot
index 33585ef..711dbf0 100755
--- a/lib/common_utils.robot
+++ b/lib/common_utils.robot
@@ -926,3 +926,11 @@
... systemctl -p ${option} show ${servicename} | cut -d = -f2
${attr} ${stderr} ${rc}= BMC Execute Command ${cmd}
[Return] ${attr}
+
+
+Verify Watchdog Enabled
+ [Documentation] Check that watchdog settings are enabled.
+
+ ${properties}= Read Properties /xyz/openbmc_project/watchdog/host0
+ Should Be Equal As Strings ${properties["Enabled"]} ${True}
+ Should Not Be Equal As Strings ${properties["TimeRemaining"]} 0