2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 17:23:08 +00:00

Fix testcase command and operator for prsync

This commit is contained in:
Mark Gurevich 2021-04-28 08:54:12 -04:00
parent fb036608aa
commit 120c7380d0
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