From 97f03932cd6a35c18e5935d1fa80f1c1740b1694 Mon Sep 17 00:00:00 2001 From: junxiawang Date: Wed, 15 Mar 2017 07:02:20 -0400 Subject: [PATCH] modify diskfull testcase --- .../installation/reg_linux_diskfull_installation_flat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-test/autotest/testcase/installation/reg_linux_diskfull_installation_flat b/xCAT-test/autotest/testcase/installation/reg_linux_diskfull_installation_flat index e96f78bc3..56d8b37b4 100644 --- a/xCAT-test/autotest/testcase/installation/reg_linux_diskfull_installation_flat +++ b/xCAT-test/autotest/testcase/installation/reg_linux_diskfull_installation_flat @@ -32,7 +32,7 @@ cmd:a=0;while true; do [ $a -eq 100 ] && exit 1;output=$(makedhcp -q $$CN);[ $? check:rc==0 cmd:copycds $$ISO check:rc==0 -cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "sles11" ]] || [[ "__GETNODEATTR($$CN,os)__" =~ "rhels" ]];then chdef -t node -o $$CN postscripts=setupntp; fi +cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "sles11" ]] || [[ "__GETNODEATTR($$CN,os)__" =~ "rhels" ]] || [[ "__GETNODEATTR($$CN,os)__" =~ "sles12.2" ]];then chdef -t node -o $$CN postscripts=setupntp; fi cmd:lsdef -l $$CN check:rc==0 cmd:rinstall $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute @@ -55,10 +55,10 @@ cmd:xdsh $$CN mount check:rc==0 cmd:sleep 120 #comment for further discussion -#cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "sles11" ]] || [[ "__GETNODEATTR($$CN,os)__" =~ "rhels" ]];then xdsh $$CN service ntpd status;fi +#cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "sles11" ]] || [[ "__GETNODEATTR($$CN,os)__" =~ "rhels" ]] || [[ "__GETNODEATTR($$CN,os)__" =~ "sles12.2" ]];then xdsh $$CN service ntpd status;fi #check:rc==0 #check:output=~running -cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "sles11" ]] || [[ "__GETNODEATTR($$CN,os)__" =~ "rhels" ]];then chdef -t node -o $$CN postscripts=" "; fi +cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "sles11" ]] || [[ "__GETNODEATTR($$CN,os)__" =~ "rhels" ]] || [[ "__GETNODEATTR($$CN,os)__" =~ "sles12.2" ]];then chdef -t node -o $$CN postscripts=" "; fi cmd:lsdef -l $$CN check:rc==0 cmd:ping $$CN -c 3