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

modify diskfull testcase

This commit is contained in:
junxiawang 2017-03-15 07:02:20 -04:00
parent d3da969e52
commit 97f03932cd

View File

@ -32,7 +32,7 @@ cmd:a=0;while true; do [ $a -eq 100 ] && exit 1;output=$(makedhcp -q $$CN);[ $?
check:rc==0
cmd:copycds $$ISO
check:rc==0
cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "sles11" ]] || [[ "__GETNODEATTR($$CN,os)__" =~ "rhels" ]];then chdef -t node -o $$CN postscripts=setupntp; fi
cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "sles11" ]] || [[ "__GETNODEATTR($$CN,os)__" =~ "rhels" ]] || [[ "__GETNODEATTR($$CN,os)__" =~ "sles12.2" ]];then chdef -t node -o $$CN postscripts=setupntp; fi
cmd:lsdef -l $$CN
check:rc==0
cmd:rinstall $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute
@ -55,10 +55,10 @@ cmd:xdsh $$CN mount
check:rc==0
cmd:sleep 120
#comment for further discussion
#cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "sles11" ]] || [[ "__GETNODEATTR($$CN,os)__" =~ "rhels" ]];then xdsh $$CN service ntpd status;fi
#cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "sles11" ]] || [[ "__GETNODEATTR($$CN,os)__" =~ "rhels" ]] || [[ "__GETNODEATTR($$CN,os)__" =~ "sles12.2" ]];then xdsh $$CN service ntpd status;fi
#check:rc==0
#check:output=~running
cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "sles11" ]] || [[ "__GETNODEATTR($$CN,os)__" =~ "rhels" ]];then chdef -t node -o $$CN postscripts=" "; fi
cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "sles11" ]] || [[ "__GETNODEATTR($$CN,os)__" =~ "rhels" ]] || [[ "__GETNODEATTR($$CN,os)__" =~ "sles12.2" ]];then chdef -t node -o $$CN postscripts=" "; fi
cmd:lsdef -l $$CN
check:rc==0
cmd:ping $$CN -c 3