2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 03:32:04 +00:00

Merge pull request #6955 from gurevichmark/prsync_testcase2

Fix testcase command and operator for prsync
This commit is contained in:
besawn 2021-04-28 12:15:43 -04:00 committed by GitHub
commit 450b67302a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

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

View File

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