Add BMC_READY check as valid powered off init state
Resolves openbmc/openbmc-test-automation#95
Change-Id: I10c6bd4b535edc6036e861bc0c41c3a1d274a6d4
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/boot/poweroffs.robot b/lib/boot/poweroffs.robot
index f9a6940..0e0ee08 100644
--- a/lib/boot/poweroffs.robot
+++ b/lib/boot/poweroffs.robot
@@ -27,6 +27,7 @@
Should Be Equal ${boot_progress} Off
Log to Console Boot Progress: ${boot_progress}
+ @{states}= Create List BMC_READY HOST_POWERED_OFF
${bmc_state}= Get BMC State
- Should Contain ${bmc_state} HOST_POWERED_OFF
+ Should Contain ${states} ${bmc_state}
Log to Console BMC State: ${bmc_state}