From adf9b46131cb33ae80fa69d67de6eac0edf56fd7 Mon Sep 17 00:00:00 2001 From: amy0701 Date: Tue, 2 Aug 2011 06:34:40 +0000 Subject: [PATCH] update git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10205 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-test/autotest/testcase/makenetworks/cases0 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-test/autotest/testcase/makenetworks/cases0 b/xCAT-test/autotest/testcase/makenetworks/cases0 index 9f63cb0cf..c99e7bc1e 100644 --- a/xCAT-test/autotest/testcase/makenetworks/cases0 +++ b/xCAT-test/autotest/testcase/makenetworks/cases0 @@ -45,7 +45,7 @@ end start:makenetworks description:makenetworks -cmd:num=`lsdef -t network |cut -d" " -f1 |tee test|wc -l`;for((i=1;i<=$num;i++)) do rmdef -t network `cat 1|sed -n "${i}p"`; done +cmd:num=`lsdef -t network |cut -d" " -f1 |tee test|wc -l`;for((i=1;i<=$num;i++)) do rmdef -t network `cat test|sed -n "${i}p"`; done check:rc==0 check:output=~(Object definitions have been removed) cmd:tabdump networks @@ -56,4 +56,5 @@ cmd:tabdump networks check:rc==0 check:output=~$$autotestnet check:output=~$$autotestgateway +cmd:rm -f test end