Fail IPMI Root password change test if password is less than 8 characters
Signed-off-by: Anusha Dathatri <adathatr@in.ibm.com>
Change-Id: I84882f818acf4caefa490643b5e2acc605b02a11
diff --git a/ipmi/test_ipmi_user.robot b/ipmi/test_ipmi_user.robot
index a3d1fe6..a684286 100644
--- a/ipmi/test_ipmi_user.robot
+++ b/ipmi/test_ipmi_user.robot
@@ -308,6 +308,8 @@
... Wait Until Keyword Succeeds 15 sec 5 sec
... Set Default Password For IPMI Root User
+ # User input password should be minimum 8 characters long.
+ Valid Length OPENBMC_PASSWORD min_length=8
# Set new password for root user.
Run IPMI Standard Command
... user set password ${root_userid} ${valid_password}