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

modify testcase

This commit is contained in:
junxiawang 2015-07-09 23:42:42 -04:00
parent 4a8bc8f96f
commit a2f6510a72

View File

@ -21,6 +21,7 @@ descriptiop:makentp
cmd:date -s 20000101
check:rc==0
cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "rhel" ]];then clock -w;else hwclock -w ; fi
check:output=~2015
cmd:chtab key=extntpservers site.value="$$extntpserversip"
check:rc==0
cmd:makentp
@ -28,8 +29,8 @@ check:rc==0
check:output=~configuring management node
cmd:date
check:output=~2015
#cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "rhel" ]];then clock ;else hwclock ; fi
#check:output=~2015
cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "rhel" ]];then clock ;else hwclock ; fi
check:output=~2015
end
start:makentp_a
descriptiop:makentp -a
@ -43,8 +44,8 @@ check:rc==0
check:output=~configuring management node
cmd:date
check:output=~2015
#cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "rhel" ]];then clock ;else hwclock ; fi
#check:output=~2015
cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "rhel" ]];then clock ;else hwclock ; fi
check:output=~2015
end
start:updatenode_computenode_P_setupntp
@ -61,7 +62,7 @@ check:output=~Running of postscripts has completed
cmd:sleep 120
cmd:xdsh $$CN date
check:output=~2015
#cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "rhel" ]];then xdsh $$CN clock ;else xdsh $$CN hwclock ; fi
#check:output=~2015
cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "rhel" ]];then xdsh $$CN clock ;else xdsh $$CN hwclock ; fi
check:output=~2015
end