Install opal prd tool on OS
Resolves openbmc/openbmc-test-automation#613
Change-Id: Ibde07e5ae39bbf2e4c2fa37a13ddfe24d4811d8b
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/syslib/utils_os.robot b/syslib/utils_os.robot
index 71b57fe..ffccdee 100755
--- a/syslib/utils_os.robot
+++ b/syslib/utils_os.robot
@@ -36,12 +36,15 @@
Login ${os_username} ${os_password}
-HTX Tool Exist
- [Documentation] Check whether HTX exerciser is installed on OS.
+Tool Exist
+ [Documentation] Check whether given tool is installed on OS.
+ [Arguments] ${tool_name}
+ # Description of argument(s):
+ # tool_name Tool name whose existence is to be checked.
Login To OS
- ${output}= Execute Command On OS which htxcmdline
- Should Contain ${output} htxcmdline
- ... msg=Please install HTX exerciser.
+ ${output}= Execute Command On OS which ${tool_name}
+ Should Contain ${output} ${tool_name}
+ ... msg=Please install ${tool_name} tool.
Boot To OS