mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-03 03:15:33 +00:00
Merge pull request #1348 from caomengmeng/update_runcmdinstaller_case
[FVT] Update runcmdinstaller test case for timing issue.
This commit is contained in:
@ -12,9 +12,8 @@ cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-ins
|
||||
check:rc==0
|
||||
cmd:if [[ "__GETNODEATTR($$CN,arch)__" =~ "ppc64" ]]; then rnetboot $$CN;elif [[ "__GETNODEATTR($$CN,arch)__" =~ "x86_64" ]];then rpower $$CN boot; fi
|
||||
check:rc==0
|
||||
cmd:sleep 300
|
||||
cmd:xdsh $$CN date
|
||||
check:output=~$$DATE
|
||||
cmd:a=0;while ! `lsdef -l $$CN|grep status|grep installing >/dev/null`; do sleep 20;((a++));if [ $a -gt 30 ];then break;fi done
|
||||
cmd:lsdef -l $$CN | grep status
|
||||
cmd:runcmdinstaller $$CN "ls -al /tmp"
|
||||
check:rc==0
|
||||
check:output=~yum
|
||||
|
Reference in New Issue
Block a user