From 1967441266f3a2b25e82b711abdbd17d7209dff6 Mon Sep 17 00:00:00 2001 From: huweihua Date: Tue, 2 Dec 2014 21:44:58 -0500 Subject: [PATCH] do some enhancement --- .../testcase/installation/reg_linux_SN_installation_hierarchy | 4 ++-- .../installation/reg_linux_statelite_installation_hierarchy | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-test/autotest/testcase/installation/reg_linux_SN_installation_hierarchy b/xCAT-test/autotest/testcase/installation/reg_linux_SN_installation_hierarchy index 907310057..130489984 100644 --- a/xCAT-test/autotest/testcase/installation/reg_linux_SN_installation_hierarchy +++ b/xCAT-test/autotest/testcase/installation/reg_linux_SN_installation_hierarchy @@ -62,7 +62,7 @@ cmd:rnetboot $$SN check:rc==0 cmd:sleep 600 -cmd:a=0;while ! `lsdef -l $$SN|grep status|grep booted >/dev/null`; do sleep 10;((a++));if [ $a -gt 350 ];then break;fi done +cmd:a=0;while ! `lsdef -l $$SN|grep status|grep booted >/dev/null`; do sleep 10;((a++));if [ $a -gt 400 ];then break;fi done cmd:ping $$SN -c 3 check:rc==0 @@ -90,5 +90,5 @@ check:rc==0 check:output=~/tftpboot on /tftpboot cmd:xdsh $$SN "nslookup $$CN" check:rc==0 -check:output=~Name: $$CN +check:output!~server can't find $$CN end diff --git a/xCAT-test/autotest/testcase/installation/reg_linux_statelite_installation_hierarchy b/xCAT-test/autotest/testcase/installation/reg_linux_statelite_installation_hierarchy index 895d60e21..2b8b7ff4a 100644 --- a/xCAT-test/autotest/testcase/installation/reg_linux_statelite_installation_hierarchy +++ b/xCAT-test/autotest/testcase/installation/reg_linux_statelite_installation_hierarchy @@ -89,7 +89,7 @@ check:rc==0 check:output=~\d\d:\d\d:\d\d cmd:xdsh $$CN mount check:rc==0 -check:output=~$$SN:/nodedata/$$CN on /.statelite/persistent +check:output=~/nodedata/$$CN on /.statelite/persistent check:output=~compute/rootimg on / type nfs