]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[master] add a sleep to prevent intermittent test failure
authorEvan Hunt <each@isc.org>
Sat, 13 Jul 2013 22:30:56 +0000 (15:30 -0700)
committerEvan Hunt <each@isc.org>
Sat, 13 Jul 2013 22:30:56 +0000 (15:30 -0700)
bin/tests/system/redirect/tests.sh

index 7b83fecda8e709da67ed55460a19c421d1ab97d2..a9de4130fded23213b66f7b87ba3a457c2578de4 100644 (file)
@@ -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