Added testcase to verify ssh access of service
Added testcase
- Verify SSH Login Access With Service User
Change-Id: I326bb80077bbfb347fadcb3afb317449ee39bcbf
Signed-off-by: manashsarma <manashsarma@in.ibm.com>
diff --git a/openpower/service_account/test_service_login.robot b/openpower/service_account/test_service_login.robot
index b3eb526..744332b 100644
--- a/openpower/service_account/test_service_login.robot
+++ b/openpower/service_account/test_service_login.robot
@@ -65,6 +65,17 @@
... Redfish.Login service ${incorrect_service_password}
+Verify SSH Login Access With Service User
+ [Documentation] Verify SSH login access with service user.
+ [Tags] Verify_SSH_Login_Access_With_Service_User
+ [Setup] Remove Existing ACF AND Upload Valid ACF
+
+ # Attempt SSH login with service user.
+ SSHLibrary.Open Connection ${OPENBMC_HOST}
+ ${status}= Run Keyword And Return Status SSHLibrary.Login service ${SERVICE_USER_PASSWORD}
+ Should Be Equal ${status} ${True}
+
+
*** Keywords ***
Suite Setup Execution