Update root password and verify via IPMI
Change-Id: If186fa40599525750e1e7bfba99b896233f29f23
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/extended/test_user_management.robot b/extended/test_user_management.robot
index 9523477..ef2cf37 100644
--- a/extended/test_user_management.robot
+++ b/extended/test_user_management.robot
@@ -49,6 +49,13 @@
Should Be Equal As Strings ${resp.status_code} ${HTTP_OK}
... msg=Verify of new root password failed, RC=${resp.status_code}.
+ # IPMI query using new "root" password.
+ ${ipmi_cmd}= Catenate SEPARATOR= ipmitool -I lanplus -C ${IPMI_CIPHER_LEVEL}
+ ... ${SPACE}-P ${test_password} -H ${OPENBMC_HOST} mc info
+
+ ${rc} ${output}= Run And Return RC and Output ${ipmi_cmd}
+ Should Be Equal ${status} ${0}
+
*** Keywords ***