mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 09:13:08 +00:00
Improve verification of prsync command in testcases
This commit is contained in:
parent
5b67d116f2
commit
af97ed3128
@ -72,8 +72,13 @@ cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compu
|
||||
check:rc==0
|
||||
cmd:liteimg __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute
|
||||
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:prsync /install $$SN:/
|
||||
check:rc==0
|
||||
check:output=~$$SN: done
|
||||
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
|
||||
|
@ -65,9 +65,13 @@ cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compu
|
||||
check:rc==0
|
||||
cmd:liteimg __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute
|
||||
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:prsync /install $$SN:/
|
||||
check:rc==0
|
||||
|
||||
check:output=~$$SN: done
|
||||
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