2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-21 05:25:32 +00:00

update according to comments

This commit is contained in:
litingt@cn.ibm.com
2018-09-21 02:00:00 -04:00
parent 92709f27cc
commit 603d5e59b2

View File

@ -1,9 +1,9 @@
start:go_xcat_without_repoquery
description:test go_xcat when command repoquery is not found. This case is for bug 1641.
os:rhels
label:cn_os_ready
label:others,go_xcat
cmd:if xdsh $$CN "yum -h";then xdsh $$CN "yum remove -y *xCAT*";fi
cmd:xdsh $$CN "cp -f /usr/bin/repoquery /usr/bin/repoquery.bak"
cmd:xdsh $$CN "mv -f /usr/bin/repoquery /usr/bin/repoquery.bak"
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 ./"
@ -13,6 +13,6 @@ check:rc!=0
check:output=~Command "repoquery" not found
check:output=~go-xcat: Install the `yum-utils' package and rerun
check:output=~go-xcat: Failed to get package list from repository `xcat-core'
cmd:xdsh $$CN "cp -f /usr/bin/repoquery.bak /usr/bin/repoquery"
cmd:xdsh $$CN "mv -f /usr/bin/repoquery.bak /usr/bin/repoquery"
end