REDFISH: script fix redfish test_user_account.robot
Changes:
- Added script fix redfish test_user_account.robot
- remove pam_tally2
Tested:
- Ran and Executed script Successfully
Change-Id: I5a0231c6ded3b3906b841c0a79fabd5c7a45ce42
Signed-off-by: ALAGIRI DHILIPAN K <alagiridhilipank@ami.com>
diff --git a/redfish/account_service/test_user_account.robot b/redfish/account_service/test_user_account.robot
index 420d0e3..d45fd3b 100644
--- a/redfish/account_service/test_user_account.robot
+++ b/redfish/account_service/test_user_account.robot
@@ -570,8 +570,8 @@
# Resetting faillock count as a workaround for issue
# openbmc/phosphor-user-manager#4
- ${cmd}= Catenate test -f /usr/sbin/faillock && /usr/sbin/faillock --user USER --reset
- ... || /usr/sbin/pam_tally2 -u ${username} --reset
+ ${cmd}= Catenate test -f /usr/sbin/faillock && /usr/sbin/faillock --user ${username} --reset
+
Bmc Execute Command ${cmd}
# Verify login with created user.