mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-19 21:00:24 +00:00
Merge pull request #568 from junxiawang/testcase0104new
modify autotest testcase
This commit is contained in:
@ -27,9 +27,9 @@ cmd:makentp
|
||||
check:rc==0
|
||||
check:output=~configuring management node
|
||||
cmd:date
|
||||
check:output=~2015
|
||||
check:output=~$$DATE
|
||||
cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "rhel" ]];then clock ;else hwclock ; fi
|
||||
check:output=~2015
|
||||
check:output=~$$DATE
|
||||
end
|
||||
start:makentp_a
|
||||
descriptiop:makentp -a
|
||||
@ -42,9 +42,9 @@ cmd:makentp -a
|
||||
check:rc==0
|
||||
check:output=~configuring management node
|
||||
cmd:date
|
||||
check:output=~2015
|
||||
check:output=~$$DATE
|
||||
cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "rhel" ]];then clock ;else hwclock ; fi
|
||||
check:output=~2015
|
||||
check:output=~$$DATE
|
||||
end
|
||||
|
||||
start:updatenode_computenode_P_setupntp
|
||||
@ -61,9 +61,9 @@ check:output=~Running of postscripts has completed
|
||||
check:output=~Running postscript: setupntp
|
||||
cmd:sleep 120
|
||||
cmd:xdsh $$CN date
|
||||
check:output=~2015
|
||||
check:output=~$$DATE
|
||||
cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "rhel" ]];then xdsh $$CN clock ;else xdsh $$CN hwclock ; fi
|
||||
check:output=~2015
|
||||
check:output=~$$DATE
|
||||
cmd:chdef $$CN -m postscripts=setupntp
|
||||
end
|
||||
|
||||
|
@ -14,7 +14,7 @@ cmd:if [[ "__GETNODEATTR($$CN,arch)__" =~ "ppc64" ]]; then rnetboot $$CN;elif [[
|
||||
check:rc==0
|
||||
cmd:sleep 300
|
||||
cmd:xdsh $$CN date
|
||||
check:output=~2015
|
||||
check:output=~$$DATE
|
||||
cmd:runcmdinstaller $$CN "ls -al /tmp"
|
||||
check:rc==0
|
||||
check:output=~yum
|
||||
|
Reference in New Issue
Block a user