2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 17:46:38 +00:00

go-xcat testcase output fix

This commit is contained in:
Mark Gurevich 2020-06-30 09:15:04 -04:00
parent 8717e15804
commit 2e354aead8

View File

@ -192,7 +192,7 @@ 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"
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
check:output=~xCAT installed successfully first time|xCAT has been installed
cmd:xdsh $$CN "source /etc/profile.d/xcat.sh;lsxcatd -a"
check:rc==0
cmd:xdsh $$CN "service xcatd status"