From e9d58120f6164dc1068474f282cd3b721052d01c Mon Sep 17 00:00:00 2001 From: junxiawang Date: Tue, 14 Jul 2015 05:06:22 -0400 Subject: [PATCH] modify testcase --- .../testcase/runcmdinstaller/.cases0.swp | Bin 0 -> 12288 bytes .../autotest/testcase/runcmdinstaller/cases0 | 62 ++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 xCAT-test/autotest/testcase/runcmdinstaller/.cases0.swp create mode 100644 xCAT-test/autotest/testcase/runcmdinstaller/cases0 diff --git a/xCAT-test/autotest/testcase/runcmdinstaller/.cases0.swp b/xCAT-test/autotest/testcase/runcmdinstaller/.cases0.swp new file mode 100644 index 0000000000000000000000000000000000000000..68c2a574e538c2f0dc188b15367943fe05bce8b2 GIT binary patch literal 12288 zcmeI2&u`pB6vwAjB5gxx)m}KE!Reu>?5=lP+Oo+;LZzyDphYF^rK-%VJ?nMjA0yAW z*+>v1{sPXxu|nd&2?@lB1DxOh2gHeg04^MmK;p!AY$sj3NgL2|sPtC)WG#E<`OWuz z{j61H=-$5eI=|RH&+s|H*pJ^oxW!LC$1a{?>|T*hBC#pb&|cjCfE0Lw6$pe){^@&+Eo_$?0IId%_y6%;QvxUrUAolxV}F&V#qh-)?nfb6Ubo^ zCRrf4j*M*I7jYp6j_WXgEd7ms?hgiTHBA`axi9igoQ0i4YAr&k`P*SG6?aU&6{R6J z84t3}G|oi8Ri=&h^GF%J6D%u?D$HQ}^y$mj`}}MfworjEGPMcV)4cTt*U}U!HEK46 zaUe(aFvX|uFnGkA$FH{Qus~M1Mp@bqrQuU)l?y4?!Lf86rK5~tLt$?E4+nWutMxFd z9Q1DmM{N!$x5~3H7YQ^x3vCZR?`DyvwoW$NR=q7!7_6B;tQ4Z@SfZ%io{P#iTo8@; zojcs|ysKB%uitp>%B$<^H_zC@y(Dsf{G#VMe6Y+0>!l-Oh=9L3%xD`H%W>U0Xf*q<+nT`?|b+AXmnMS&;JucKM*%7FP zO{K7{oVn3K9;7|2WuLmT0z0BxTTQtN_VetRxp=BkK6~qZA7Ul^4S`I;KEGCNnZn^kFhx+t??k}Ymc6#tuk<1vnv0b`)f}B|M zmWa9CP~B|gJ-7RE*?%U19#_L{H!n|-Wo&z?Yc@a2sD7hLwM!ajJv6OE;Ei9tg#J "" +end +start:runcmdinstaller_command +descriptiop:runcmdinstaller +cmd:chtab key=xcatdebugmode site.value="1" +check:rc==0 +cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute +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=~2015 +cmd:runcmdinstaller $$CN "ls -al /tmp" +check:rc==0 +check:output=~yum +cmd:chtab key=xcatdebugmode site.value="0" +end +start:get_xcat_install_loginfo +description:xcatdebugloginfo for install +cmd:chtab key=xcatdebugmode site.value="1" +check:rc==0 +cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute +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:cat /var/log/messages |grep "packaging: Installing" +check:rc==0 +cmd:chtab key=xcatdebugmode site.value="0" +end +start:get_xcat_postscripts_loginfo +description:get xcat post scripts loginfo +cmd:chtab key=xcatdebugmode site.value="1" +check:rc==0 +cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute +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 1200 +cmd:cat /var/log/messages |grep "Running post-installation scripts" +cmd:rc==0 +cmd:cat /var/log/messages |grep "program: ++" +cmd:rc==0 +cmd:chtab key=xcatdebugmode site.value="0" +end +start:updatenode_postscripts_loginfo +description:get updatenode postsripts log info +cmd:chtab key=xcatdebugmode site.value="1" +check:rc==0 +cmd:chdef $$CN -p postscripts=setupntp +check:rc==0 +cmd:updatenode $$CN -P setupntp +check:output=~$$CN: + +cmd:cat /var/log/messages |grep "trying to download postscripts" +check:rc==0 +cmd:chtab key=xcatdebugmode site.value="0" +end