From 6fea46f2b1d27c49642e36c8b418d4d548585de0 Mon Sep 17 00:00:00 2001 From: amy0701 Date: Thu, 2 Aug 2012 07:46:03 +0000 Subject: [PATCH] update makedns testcase for sles git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13403 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-test/autotest/testcase/makedns/cases0 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-test/autotest/testcase/makedns/cases0 b/xCAT-test/autotest/testcase/makedns/cases0 index f723797e5..ec10772d0 100644 --- a/xCAT-test/autotest/testcase/makedns/cases0 +++ b/xCAT-test/autotest/testcase/makedns/cases0 @@ -77,7 +77,7 @@ check:rc==0 cmd:nslookup testnodedns check:rc==0 check:output=~(10.1.1.1) -cmd:ls /var/named/ |grep db.10.1.1 +cmd:ls /var/named 2>&1 |grep db.10.1.1 || ls /var/lib/named 2>&1 |grep db.10.1.1 check:rc==0 check:output=~(db.10.1.1) check:output=~(db.10.1.1.jnl) @@ -99,7 +99,7 @@ cmd:chdef -t network -o testnet net="10.1.1.0" mask="255.255.255.0" check:rc==0 cmd:makedns -n testnodedns check:rc==0 -cmd:ls /var/named/ |grep db.10.1.1 +cmd:ls /var/named 2>&1 |grep db.10.1.1 || ls /var/lib/named 2>&1 |grep db.10.1.1 check:rc==0 check:output=~(db.10.1.1) check:output=~(db.10.1.1.jnl) @@ -128,7 +128,7 @@ cmd:service named start cmd:nslookup testnodedns check:rc==0 check:output=~(10.1.1.1) -cmd:ls /var/named/ |grep db.10.1.1 +cmd:ls /var/named 2>&1 |grep db.10.1.1 || ls /var/lib/named 2>&1 |grep db.10.1.1 check:rc==0 check:output=~(db.10.1.1) check:output=~(db.10.1.1.jnl)