Minimum length test for IPMI and Redfish User
Signed-off-by: Anusha Dathatri <adathatr@in.ibm.com>
Change-Id: Ia068f3c6060bccc78b4dbbe30fc00733f837d88b
diff --git a/ipmi/test_ipmi_user.robot b/ipmi/test_ipmi_user.robot
index a684286..6420166 100644
--- a/ipmi/test_ipmi_user.robot
+++ b/ipmi/test_ipmi_user.robot
@@ -23,6 +23,7 @@
${ipmi_setaccess_cmd} channel setaccess
&{password_values} 16=0penBmc10penBmc2 17=0penBmc10penBmc2B
... 20=0penBmc10penBmc2Bmc3 21=0penBmc10penBmc2Bmc34
+ ... 7=0penBmc 8=0penBmc0
*** Test Cases ***
@@ -413,6 +414,18 @@
20 16 ${True}
+Verify Minimum Password Length For IPMI User
+ [Documentation] Verify minimum password length of 8 characters.
+ [Tags] Verify_Minimum_Password_Length_For_IPMI_User
+ [Template] Set User Password And Verify
+
+ # password_length password_option expected_status
+ 7 16 ${False}
+ 8 16 ${True}
+ 7 20 ${False}
+ 8 20 ${True}
+
+
*** Keywords ***
Create Random IPMI User