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

modify ntp testcase

This commit is contained in:
junxiawang
2015-07-08 05:54:43 -04:00
parent 24f4e5b3c2
commit a4691e735d

View File

@ -53,11 +53,12 @@ cmd:xdsh $$CN date -s 20000101
check:rc==0
cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "rhel" ]];then xdsh $$CN clock -w;else xdsh $$CN hwclock -w ; fi
cmd:chdef $$CN -p postscripts=setupntp
cmd:chtab key=extntpservers site.value=""
check:rc==0
#cmd:chtab key=extntpservers site.value=""
#check:rc==0
cmd:updatenode $$CN -P setupntp
check:rc==0
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