2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-18 12:20:40 +00:00

modify autotest installation testcase

This commit is contained in:
junxiawang
2015-06-18 02:57:46 -04:00
parent 7b740fb507
commit b1bf3e31f0

View File

@ -37,7 +37,7 @@ check:rc==0
cmd:if [[ "__GETNODEATTR($$CN,arch)__" =~ "ppc" ]]; then sleep 1200;elif [[ "__GETNODEATTR($$CN,arch)__" =~ "x86_64" ]];then sleep 600;else sleep 180;fi
cmd:lsdef -l $$CN | grep status
check:output!~booted
check:output=~booted
cmd:a=0;while ! `lsdef -l $$CN|grep status|grep booted >/dev/null`; do sleep 10;((a++));if [ $a -gt 300 ];then break;fi done