From: Evan Hunt Date: Sat, 13 Jul 2013 22:30:56 +0000 (-0700) Subject: [master] add a sleep to prevent intermittent test failure X-Git-Tag: v9.10.0a1~203 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9a32b8d8f8b3d5517204b2f2ee175570a024cdb4;p=thirdparty%2Fbind9.git [master] add a sleep to prevent intermittent test failure --- diff --git a/bin/tests/system/redirect/tests.sh b/bin/tests/system/redirect/tests.sh index 7b83fecda8e..a9de4130fde 100644 --- a/bin/tests/system/redirect/tests.sh +++ b/bin/tests/system/redirect/tests.sh @@ -334,6 +334,7 @@ status=`expr $status + $ret` echo "I:checking that redirect zones reload correctly" ret=0 +sleep 1 # ensure file mtime will have changed sed -e 's/0 0 0 0 0/1 0 0 0 0/' < ns2/example.db.in > ns2/example.db sed -e 's/0 0 0 0 0/1 0 0 0 0/' -e 's/\.1$/.2/' < ns2/redirect.db.in > ns2/redirect.db $RNDC -c ../common/rndc.conf -s 10.53.0.2 -p 9953 reload > rndc.out || ret=1