2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-24 23:15:30 +00:00

Merge pull request #6954 from gurevichmark/prsync_testcase

Improve verification of prsync command in testcases
This commit is contained in:
besawn
2021-04-27 08:03:22 -04:00
committed by GitHub
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