From c4004ada2a85328b0415c0616a413f9cfdda234e Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 13 Nov 2013 15:44:54 +1100 Subject: [PATCH] adjust sync point --- bin/tests/system/cacheclean/tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/tests/system/cacheclean/tests.sh b/bin/tests/system/cacheclean/tests.sh index 577c8e1810..5436852850 100644 --- a/bin/tests/system/cacheclean/tests.sh +++ b/bin/tests/system/cacheclean/tests.sh @@ -194,10 +194,10 @@ echo "I:check flushtree clears adb correctly" ret=0 load_cache dump_cache -awk '/Address database/ {getline; getline; if ($2 == "ns.flushtest.example") exit(0); exit(1); }' ns2/named_dump.db || ret=1 +awk '/plain success\/timeout/ {getline; getline; if ($2 == "ns.flushtest.example") exit(0); exit(1); }' ns2/named_dump.db || ret=1 $RNDC $RNDCOPTS flushtree flushtest.example || ret=1 dump_cache -awk '/Address database/ {getline; getline; if ($2 == "ns.flushtest.example") exit(1); exit(0); }' ns2/named_dump.db || ret=1 +awk '/plain success\/timeout/ {getline; getline; if ($2 == "ns.flushtest.example") exit(1); exit(0); }' ns2/named_dump.db || ret=1 if [ $ret != 0 ]; then echo "I:failed"; fi status=`expr $status + $ret`