2
0
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:
Mark Gurevich 2021-04-26 15:42:38 -04:00
parent 5b67d116f2
commit af97ed3128
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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