From 1d52847d4c9d97b4736275a5e09bc8a40eb92c1c Mon Sep 17 00:00:00 2001 From: caomengmeng Date: Tue, 21 Jun 2016 01:46:31 -0400 Subject: [PATCH] completed --- xCAT-test/autotest/testcase/runcmdinstaller/cases0 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/xCAT-test/autotest/testcase/runcmdinstaller/cases0 b/xCAT-test/autotest/testcase/runcmdinstaller/cases0 index 94eb7aacd..4ab17ef20 100644 --- a/xCAT-test/autotest/testcase/runcmdinstaller/cases0 +++ b/xCAT-test/autotest/testcase/runcmdinstaller/cases0 @@ -12,9 +12,8 @@ cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-ins check:rc==0 cmd:if [[ "__GETNODEATTR($$CN,arch)__" =~ "ppc64" ]]; then rnetboot $$CN;elif [[ "__GETNODEATTR($$CN,arch)__" =~ "x86_64" ]];then rpower $$CN boot; fi check:rc==0 -cmd:sleep 300 -cmd:xdsh $$CN date -check:output=~$$DATE +cmd:a=0;while ! `lsdef -l $$CN|grep status|grep installing >/dev/null`; do sleep 20;((a++));if [ $a -gt 30 ];then break;fi done +cmd:lsdef -l $$CN | grep status cmd:runcmdinstaller $$CN "ls -al /tmp" check:rc==0 check:output=~yum