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_install.robot b/syslib/utils_install.robot
index 4f1d37e..cb71dd3 100755
--- a/syslib/utils_install.robot
+++ b/syslib/utils_install.robot
@@ -78,9 +78,11 @@
# (e.g. http://server.com/projects/htx_package.rpm )
- OS Execute Command wget ${htx_rpm} ignore_err=1
+ ${stdout} ${stderr} ${rc} OS Execute Command
+ ... wget ${htx_rpm} ignore_err=1
+ Should Not Contain ${stderr} ERROR
@{str}= Split String From Right ${htx_rpm} / 1
- SSHLibrary.File Should Exist ${str[1]}
+
# Remove the old version.
OS Execute Command rpm -e `rpm -qa | grep htx` ignore_err=1
OS Execute Command rpm -Uvh ${str[1]}