mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-22 11:42:05 +00:00
Merge pull request #6955 from gurevichmark/prsync_testcase2
Fix testcase command and operator for prsync
This commit is contained in:
commit
450b67302a
@ -74,11 +74,11 @@ cmd:liteimg __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-comput
|
||||
check:rc==0
|
||||
#Before doing prsync of /install to the service node, check if there is enough space there
|
||||
cmd:du -sh /install
|
||||
cmd:xdsh $$SN du -H
|
||||
cmd:xdsh $$SN df -H
|
||||
cmd:prsync /install $$SN:/
|
||||
check:rc==0
|
||||
check:output=~$$SN: done
|
||||
check:output!=write failed
|
||||
check:output!~write failed
|
||||
|
||||
cmd:/opt/xcat/share/xcat/tools/autotest/testcase/commoncmd/retry_install.sh $$CN __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute
|
||||
check:rc==0
|
||||
|
@ -67,11 +67,11 @@ cmd:liteimg __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-comput
|
||||
check:rc==0
|
||||
#Before doing prsync of /install to the service node, check if there is enough space there
|
||||
cmd:du -sh /install
|
||||
cmd:xdsh $$SN du -H
|
||||
cmd:xdsh $$SN df -H
|
||||
cmd:prsync /install $$SN:/
|
||||
check:rc==0
|
||||
check:output=~$$SN: done
|
||||
check:output!=write failed
|
||||
check:output!~write failed
|
||||
|
||||
cmd:/opt/xcat/share/xcat/tools/autotest/testcase/commoncmd/retry_install.sh $$CN __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute
|
||||
check:rc==0
|
||||
|
Loading…
x
Reference in New Issue
Block a user