mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 06:55:30 +00:00
[master] add a sleep to prevent intermittent test failure
This commit is contained in:
@@ -334,6 +334,7 @@ status=`expr $status + $ret`
|
|||||||
|
|
||||||
echo "I:checking that redirect zones reload correctly"
|
echo "I:checking that redirect zones reload correctly"
|
||||||
ret=0
|
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/' < 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
|
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
|
$RNDC -c ../common/rndc.conf -s 10.53.0.2 -p 9953 reload > rndc.out || ret=1
|
||||||
|
Reference in New Issue
Block a user