From 43a3b93022f7bb4b84e2a867236d063e209cdf12 Mon Sep 17 00:00:00 2001 From: Michael Sawyer Date: Mon, 12 Jun 2000 23:55:19 +0000 Subject: [PATCH] Add sleep to xfr test First try and use perl5, then perl, in setup.sh for xferquota. --- bin/tests/system/xfer/tests.sh | 2 ++ bin/tests/system/xferquota/setup.sh | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/tests/system/xfer/tests.sh b/bin/tests/system/xfer/tests.sh index 8b04c1e210..c7e90d8a20 100644 --- a/bin/tests/system/xfer/tests.sh +++ b/bin/tests/system/xfer/tests.sh @@ -24,6 +24,8 @@ echo "A:A test to determine online functionality of zone transfers" # Perform tests # +sleep 5 + status=0; $DIG +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd example. \ @10.53.0.2 axfr -p 5300 > dig.out.ns2 diff --git a/bin/tests/system/xferquota/setup.sh b/bin/tests/system/xferquota/setup.sh index edadee5fe0..b0994da55f 100644 --- a/bin/tests/system/xferquota/setup.sh +++ b/bin/tests/system/xferquota/setup.sh @@ -18,5 +18,8 @@ # # Set up test data for zone transfer quota tests. # -perl setup.pl +perl5 setup.pl +if [ $? = 1 ]; then + perl setup.pl +fi cp ns1/changing1.db ns1/changing.db