From: Mukund Sivaraman Date: Mon, 2 Apr 2012 08:29:55 +0000 (+0530) Subject: [1818] Don't show dig output for expected failures X-Git-Tag: trac2351_base~226^2~116^2~34^2~35 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=22aa6eec949ced4a40a599019a275c7e732cbb70;p=thirdparty%2Fkea.git [1818] Don't show dig output for expected failures --- diff --git a/tests/system/bindctl/tests.sh b/tests/system/bindctl/tests.sh index 157e9dec7b..352642e87f 100755 --- a/tests/system/bindctl/tests.sh +++ b/tests/system/bindctl/tests.sh @@ -33,7 +33,7 @@ cnt_value2=0 cnt_value3=0 echo "I:Checking b10-auth is disabled by default ($n)" -$DIG +norec @10.53.0.1 -p 53210 ns.example.com. A && status=1 +$DIG +norec @10.53.0.1 -p 53210 ns.example.com. A > /dev/null && status=1 if [ $status != 0 ]; then echo "I:failed"; fi n=`expr $n + 1` @@ -75,7 +75,7 @@ quit ' | $RUN_BINDCTL \ --csv-file-dir=$BINDCTL_CSV_DIR 2>&1 > /dev/null || status=1 # dig should exit with a failure code. -$DIG +tcp +norec @10.53.0.1 -p 53210 ns.example.com. A && status=1 +$DIG +tcp +norec @10.53.0.1 -p 53210 ns.example.com. A > /dev/null && status=1 if [ $status != 0 ]; then echo "I:failed"; fi n=`expr $n + 1`