From: Witold Kręcicki Date: Thu, 18 Oct 2018 14:45:28 +0000 (+0000) Subject: Fix fetchlimit test to allow softquota to be overruled; Remove 'verifying that named... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d55304ea2959e3dcce9d6d2463b6690f721cb17a;p=thirdparty%2Fbind9.git Fix fetchlimit test to allow softquota to be overruled; Remove 'verifying that named checks for conflicting listeners' test from runtime --- diff --git a/bin/tests/system/fetchlimit/tests.sh b/bin/tests/system/fetchlimit/tests.sh index f62825a25b8..55309d7b3c3 100644 --- a/bin/tests/system/fetchlimit/tests.sh +++ b/bin/tests/system/fetchlimit/tests.sh @@ -157,7 +157,7 @@ status=`expr $status + $ret` copy_setports ns3/named3.conf.in ns3/named.conf $RNDCCMD reconfig 2>&1 | sed 's/^/ns3 /' | cat_i -echo_i "checking lame server clients are dropped at the soft limit" +echo_i "checking lame server clients are dropped near the soft limit" ret=0 fail=0 exceeded=0 diff --git a/bin/tests/system/runtime/tests.sh b/bin/tests/system/runtime/tests.sh index 9dc43acd1df..615a6ae9672 100644 --- a/bin/tests/system/runtime/tests.sh +++ b/bin/tests/system/runtime/tests.sh @@ -24,28 +24,6 @@ grep "another named process" ns2/named.run > /dev/null && ret=1 if [ $ret != 0 ]; then echo_i "failed"; fi status=`expr $status + $ret` -if [ ! "$CYGWIN" ]; then - n=`expr $n + 1` - echo_i "verifying that named checks for conflicting listeners ($n)" - ret=0 - (cd ns2; $NAMED -c named-alt1.conf -D ns2-extra-1 -X other.lock -m record,size,mctx -d 99 -g -U 4 >> named2.run 2>&1 & ) - for i in 1 2 3 4 5 6 7 8 9 - do - grep "unable to listen on any configured interface" ns2/named2.run > /dev/null && break - sleep 1 - done - grep "unable to listen on any configured interface" ns2/named2.run > /dev/null || ret=1 - for i in 1 2 3 4 5 6 7 8 9 - do - grep "exiting (due to fatal error)" ns2/named2.run > /dev/null && break - sleep 1 - done - pid=`cat ns2/named2.pid 2>/dev/null` - test "${pid:+set}" = set && $KILL -15 ${pid} >/dev/null 2>&1 - if [ $ret != 0 ]; then echo_i "failed"; fi - status=`expr $status + $ret` -fi - n=`expr $n + 1` echo_i "verifying that named checks for conflicting named processes ($n)" ret=0