Added new test cast for os install and bootme
Added error checking to "Install HTX On Redhat"
Change-Id: Ieeafb5a04ad466cfabeaf72d58274432112116db
Signed-off-by: Joy Onyerikwu <onyekachukwu.joy.onyerikwu@ibm.com>
diff --git a/syslib/utils_os.robot b/syslib/utils_os.robot
index 942d26e..ac61680 100755
--- a/syslib/utils_os.robot
+++ b/syslib/utils_os.robot
@@ -426,6 +426,10 @@
Check HTX Run Status
[Documentation] Get HTX exerciser status and check for error.
+ [Arguments] ${sleep_time}=${EMPTY}
+
+ # Description of argument(s):
+ # sleep_time The amount of time to sleep after checking status.
Rprint Timen Check HTX mdt Status and error.
${htx_status}= Execute Command On OS
@@ -438,6 +442,10 @@
Should Contain ${htx_errlog} file </tmp/htxerr> is empty
... msg=HTX geterrorlog was not empty.
+ Return From Keyword If ${sleep_time} == ${EMPTY}
+
+ Run Key U Sleep \ ${sleep-time}
+
Shutdown HTX Exerciser
[Documentation] Shut down HTX exerciser run.