2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-06-18 17:40:44 +00:00

Merge pull request #5475 from neo954/fix-go-xcat-test-case

Fix test case go_xcat_noinput. Ignore the exit code of gpg installation
This commit is contained in:
Weihua Hu
2018-08-08 16:49:06 +08:00
committed by GitHub
@@ -7,7 +7,6 @@ check:rc!=0
cmd:if xdsh $$CN "grep \"Red Hat\" /etc/*release >/dev/null"; then xdsh $$CN "yum install -y yum-utils bzip2"; fi
check:rc==0
cmd:if grep Ubuntu /etc/*release;then xdsh $$CN "apt-get install -y gpg"; fi
check:rc==0
cmd:xdsh $$CN "cd /; rm -rf /go-xcat"
check:rc==0
cmd:xdsh $$CN "cd /; scp -r $$MN:/opt/xcat/share/xcat/tools/go-xcat ./"