Added testcase for verifying the reboot operation on reboot page
Change-Id: Iecd4f1c05beb4932ae9387831e852a3185ca0ecc
Signed-off-by: Ashwini Chandrappa <Ashwini.Chandrappa777@ibm.com>
diff --git a/lib/common_utils.robot b/lib/common_utils.robot
index e9bbfaa..6c19021 100755
--- a/lib/common_utils.robot
+++ b/lib/common_utils.robot
@@ -967,3 +967,11 @@
${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
+
+
+Is BMC Unpingable
+ [Documentation] Check if BMC is unpingable.
+
+ ${RC} ${output}= Run and return RC and Output ping -c 4 ${OPENBMC_HOST}
+ Log RC: ${RC}\nOutput:\n${output}
+ Should be equal ${RC} ${1}