2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-17 08:40:24 +00:00

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

Revise go_xcat_noinput test case, by install package gpg on Ubuntu compute node
This commit is contained in:
Weihua Hu
2018-08-03 16:15:12 +08:00
committed by GitHub

View File

@@ -6,6 +6,8 @@ cmd:if grep Ubuntu /etc/*release;then xdsh $$CN "dpkg -l |grep -i perl-xcat";els
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 ./"