2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 01:56:39 +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
commit 6e853bcf84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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