2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-03 11:25:33 +00:00

Merge pull request #6750 from gurevichmark/go_xcat_sles_retryr4

More improvements to go-xcat testcases
This commit is contained in:
cxhong
2020-06-29 15:46:14 -04:00
committed by GitHub

View File

@ -131,7 +131,7 @@ check:output=~running
#Update to devel version of xCAT
cmd:xdsh $$CN "cd /; ./go-xcat --xcat-version=devel -y update"
cmd:version=`xdsh $$CN /opt/xcat/bin/lsxcatd -v`; if [[ $version =~ "Version" ]]; then echo "xCAT updated successfully first time"; else echo "First attempt to update xCAT failed, attempting to update xCAT again"; xdsh $$CN "cd /; ./go-xcat --xcat-version=devel -y update"; fi
check:output=~"xCAT updated successfully first time"|"xCAT has been successfully updated"
check:output=~xCAT updated successfully first time|xCAT has been successfully updated
cmd:xdsh $$CN "source /etc/profile.d/xcat.sh;lsxcatd -v"
check:rc==0
cmd:xdsh $$CN "service xcatd status"
@ -191,8 +191,8 @@ check:output=~could not be found|dead|no such service xcatd
#Install devel version of xCAT
cmd:xdsh $$CN "cd /; ./go-xcat --xcat-version=devel -y install"
check:rc==0
cmd:xdsh $$CN "cat /tmp/go-xcat.log"
cmd:version=`xdsh $$CN /opt/xcat/bin/lsxcatd -v`; if [[ $version =~ "Version" ]]; then echo "xCAT installed successfully first time"; else echo "First attempt to install xCAT failed, attempting to install xCAT again"; xdsh $$CN "cd /; ./go-xcat -y --xcat-version=devel install"; fi
check:output=~xCAT updated successfully first time|xCAT has been successfully updated
cmd:xdsh $$CN "source /etc/profile.d/xcat.sh;lsxcatd -a"
check:rc==0
cmd:xdsh $$CN "service xcatd status"