mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 15:05:23 +00:00
3050. [bug] The autosign system test was timing dependent.
Wait for the initial autosigning to complete before running the rest of the test. [RT #23035]
This commit is contained in:
4
CHANGES
4
CHANGES
@@ -1,3 +1,7 @@
|
|||||||
|
3050. [bug] The autosign system test was timing dependent.
|
||||||
|
Wait for the initial autosigning to complete
|
||||||
|
before running the rest of the test. [RT #23035]
|
||||||
|
|
||||||
3049. [bug] Save and restore the gid when creating creating
|
3049. [bug] Save and restore the gid when creating creating
|
||||||
named.pid at startup. [RT #23290]
|
named.pid at startup. [RT #23290]
|
||||||
|
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
# PERFORMANCE OF THIS SOFTWARE.
|
# PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
# $Id: tests.sh,v 1.14 2011/03/01 23:48:05 tbox Exp $
|
# $Id: tests.sh,v 1.15 2011/03/02 04:08:58 marka Exp $
|
||||||
|
|
||||||
SYSTEMTESTTOP=..
|
SYSTEMTESTTOP=..
|
||||||
. $SYSTEMTESTTOP/conf.sh
|
. $SYSTEMTESTTOP/conf.sh
|
||||||
@@ -41,14 +41,24 @@ i=0
|
|||||||
while [ $i -lt 30 ]
|
while [ $i -lt 30 ]
|
||||||
do
|
do
|
||||||
ret=0
|
ret=0
|
||||||
for z in bar example private.secure.example
|
#
|
||||||
|
# Wait for the root DNSKEY RRset to be fully signed.
|
||||||
|
#
|
||||||
|
$DIG $DIGOPTS . @10.53.0.1 dnskey > dig.out.ns1.test$n || ret=1
|
||||||
|
grep "ANSWER: 10," dig.out.ns1.test$n > /dev/null || ret=1
|
||||||
|
for z in .
|
||||||
do
|
do
|
||||||
$DIG $DIGOPTS $z. @10.53.0.2 nsec > dig.out.ns2.test$n || ret=1
|
$DIG $DIGOPTS $z @10.53.0.1 nsec > dig.out.ns1.test$n || ret=1
|
||||||
|
grep "NS SOA" dig.out.ns1.test$n > /dev/null || ret=1
|
||||||
|
done
|
||||||
|
for z in bar. example. private.secure.example.
|
||||||
|
do
|
||||||
|
$DIG $DIGOPTS $z @10.53.0.2 nsec > dig.out.ns2.test$n || ret=1
|
||||||
grep "NS SOA" dig.out.ns2.test$n > /dev/null || ret=1
|
grep "NS SOA" dig.out.ns2.test$n > /dev/null || ret=1
|
||||||
done
|
done
|
||||||
for z in bar example
|
for z in bar. example.
|
||||||
do
|
do
|
||||||
$DIG $DIGOPTS $z. @10.53.0.3 nsec > dig.out.ns3.test$n || ret=1
|
$DIG $DIGOPTS $z @10.53.0.3 nsec > dig.out.ns3.test$n || ret=1
|
||||||
grep "NS SOA" dig.out.ns3.test$n > /dev/null || ret=1
|
grep "NS SOA" dig.out.ns3.test$n > /dev/null || ret=1
|
||||||
done
|
done
|
||||||
i=`expr $i + 1`
|
i=`expr $i + 1`
|
||||||
|
Reference in New Issue
Block a user