diff --git a/bin/tests/system/autosign/setup.sh b/bin/tests/system/autosign/setup.sh index 4a5c956629..b6c9c50f99 100644 --- a/bin/tests/system/autosign/setup.sh +++ b/bin/tests/system/autosign/setup.sh @@ -14,7 +14,7 @@ SYSTEMTESTTOP=.. . ./clean.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE copy_setports ns1/named.conf.in ns1/named.conf copy_setports ns2/named.conf.in ns2/named.conf diff --git a/bin/tests/system/chain/setup.sh b/bin/tests/system/chain/setup.sh index c10ec6df7a..ac6cf821f0 100644 --- a/bin/tests/system/chain/setup.sh +++ b/bin/tests/system/chain/setup.sh @@ -14,7 +14,7 @@ SYSTEMTESTTOP=.. $SHELL clean.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE copy_setports ns1/named.conf.in ns1/named.conf copy_setports ns2/named.conf.in ns2/named.conf diff --git a/bin/tests/system/conf.sh.in b/bin/tests/system/conf.sh.in index 08f1ac3648..d3f5dfc049 100644 --- a/bin/tests/system/conf.sh.in +++ b/bin/tests/system/conf.sh.in @@ -73,6 +73,10 @@ SAMPLEUPDATE=$TOP/lib/samples/sample-update # we don't want a KRB5_CONFIG setting breaking the tests KRB5_CONFIG=/dev/null +# the amount of fake "entropy" to generate with GENRANDOM in +# system tests +RANDOMSIZE=4096 + # The "stress" test is not run by default since it creates enough # load on the machine to make it unusable to other users. # The "dialup", "delzone", and "dupsigs" tests are also not run by diff --git a/bin/tests/system/conf.sh.win32 b/bin/tests/system/conf.sh.win32 index 45e0ccd807..18adddcafd 100644 --- a/bin/tests/system/conf.sh.win32 +++ b/bin/tests/system/conf.sh.win32 @@ -83,6 +83,10 @@ PIPEQUERIES=$TOP/Build/$VSCONF/pipequeries@EXEEXT@ # we don't want a KRB5_CONFIG setting breaking the tests KRB5_CONFIG=NUL +# the amount of fake "entropy" to generate with GENRANDOM in +# system tests +RANDOMSIZE=4096 + # The "stress" test is not run by default since it creates enough # load on the machine to make it unusable to other users. # The "dialup", "delzone", and "dupsigs" tests are also not run by diff --git a/bin/tests/system/dlv/setup.sh b/bin/tests/system/dlv/setup.sh index a8a94e8b87..5954209490 100644 --- a/bin/tests/system/dlv/setup.sh +++ b/bin/tests/system/dlv/setup.sh @@ -12,7 +12,7 @@ SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE copy_setports ns1/named.conf.in ns1/named.conf copy_setports ns2/named.conf.in ns2/named.conf diff --git a/bin/tests/system/dlzexternal/setup.sh b/bin/tests/system/dlzexternal/setup.sh index 8b91d55b18..8279398d42 100644 --- a/bin/tests/system/dlzexternal/setup.sh +++ b/bin/tests/system/dlzexternal/setup.sh @@ -12,7 +12,7 @@ SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE $DDNSCONFGEN -q -r $RANDFILE -z example.nil > ns1/ddns.key diff --git a/bin/tests/system/dns64/setup.sh b/bin/tests/system/dns64/setup.sh index fbaecc308c..be3734b83b 100644 --- a/bin/tests/system/dns64/setup.sh +++ b/bin/tests/system/dns64/setup.sh @@ -14,7 +14,7 @@ SYSTEMTESTTOP=.. $SHELL clean.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE copy_setports ns1/named.conf.in ns1/named.conf copy_setports ns2/named.conf.in ns2/named.conf diff --git a/bin/tests/system/dnssec/setup.sh b/bin/tests/system/dnssec/setup.sh index f0b5696f64..7532d0c9bd 100644 --- a/bin/tests/system/dnssec/setup.sh +++ b/bin/tests/system/dnssec/setup.sh @@ -14,7 +14,7 @@ SYSTEMTESTTOP=.. $SHELL clean.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE copy_setports ns1/named.conf.in ns1/named.conf copy_setports ns2/named.conf.in ns2/named.conf diff --git a/bin/tests/system/dsdigest/setup.sh b/bin/tests/system/dsdigest/setup.sh index 4c11328ec5..c7ade46d01 100644 --- a/bin/tests/system/dsdigest/setup.sh +++ b/bin/tests/system/dsdigest/setup.sh @@ -12,7 +12,7 @@ SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE copy_setports ns1/named.conf.in ns1/named.conf copy_setports ns2/named.conf.in ns2/named.conf diff --git a/bin/tests/system/dupsigs/setup.sh b/bin/tests/system/dupsigs/setup.sh index 0c37928a85..50d6bbddca 100644 --- a/bin/tests/system/dupsigs/setup.sh +++ b/bin/tests/system/dupsigs/setup.sh @@ -12,7 +12,7 @@ SYSTEMTESTTOP=.. test -f clean.sh && $SHELL clean.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE copy_setports ns1/named.conf.in ns1/named.conf diff --git a/bin/tests/system/ecdsa/setup.sh b/bin/tests/system/ecdsa/setup.sh index c48b526bde..7fba74b583 100644 --- a/bin/tests/system/ecdsa/setup.sh +++ b/bin/tests/system/ecdsa/setup.sh @@ -12,6 +12,6 @@ SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE cd ns1 && $SHELL sign.sh diff --git a/bin/tests/system/eddsa/setup.sh b/bin/tests/system/eddsa/setup.sh index c48b526bde..7fba74b583 100644 --- a/bin/tests/system/eddsa/setup.sh +++ b/bin/tests/system/eddsa/setup.sh @@ -12,6 +12,6 @@ SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE cd ns1 && $SHELL sign.sh diff --git a/bin/tests/system/filter-aaaa/setup.sh b/bin/tests/system/filter-aaaa/setup.sh index c6497fb8d8..746283f3ee 100644 --- a/bin/tests/system/filter-aaaa/setup.sh +++ b/bin/tests/system/filter-aaaa/setup.sh @@ -14,7 +14,7 @@ SYSTEMTESTTOP=.. $SHELL clean.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE copy_setports ns1/named1.conf.in ns1/named.conf copy_setports ns2/named1.conf.in ns2/named.conf diff --git a/bin/tests/system/gost/setup.sh b/bin/tests/system/gost/setup.sh index c48b526bde..7fba74b583 100644 --- a/bin/tests/system/gost/setup.sh +++ b/bin/tests/system/gost/setup.sh @@ -12,6 +12,6 @@ SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE cd ns1 && $SHELL sign.sh diff --git a/bin/tests/system/inline/setup.sh b/bin/tests/system/inline/setup.sh index 63e0eb6c33..a9e1af2d9a 100644 --- a/bin/tests/system/inline/setup.sh +++ b/bin/tests/system/inline/setup.sh @@ -12,7 +12,7 @@ SYSTEMTESTTOP=.. $SHELL clean.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE cp ns1/root.db.in ns1/root.db rm -f ns1/root.db.signed diff --git a/bin/tests/system/legacy/build.sh b/bin/tests/system/legacy/build.sh index 6c9d7df9bd..08a2e495bb 100644 --- a/bin/tests/system/legacy/build.sh +++ b/bin/tests/system/legacy/build.sh @@ -12,7 +12,7 @@ SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE $SHELL clean.sh diff --git a/bin/tests/system/masterformat/setup.sh b/bin/tests/system/masterformat/setup.sh index 2824647ff4..73b23ae61a 100755 --- a/bin/tests/system/masterformat/setup.sh +++ b/bin/tests/system/masterformat/setup.sh @@ -10,7 +10,7 @@ SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE copy_setports ns1/named.conf.in ns1/named.conf copy_setports ns2/named.conf.in ns2/named.conf diff --git a/bin/tests/system/metadata/setup.sh b/bin/tests/system/metadata/setup.sh index 5ff7e5be8d..46e2668fd3 100644 --- a/bin/tests/system/metadata/setup.sh +++ b/bin/tests/system/metadata/setup.sh @@ -14,7 +14,7 @@ SYSTEMTESTTOP=.. $SHELL ./clean.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE pzone=parent.nil czone=child.parent.nil diff --git a/bin/tests/system/mkeys/setup.sh b/bin/tests/system/mkeys/setup.sh index 7ad39398f1..202ddeb3ee 100644 --- a/bin/tests/system/mkeys/setup.sh +++ b/bin/tests/system/mkeys/setup.sh @@ -14,7 +14,7 @@ SYSTEMTESTTOP=.. $SHELL clean.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE copy_setports ns1/named1.conf.in ns1/named.conf diff --git a/bin/tests/system/nsupdate/setup.sh b/bin/tests/system/nsupdate/setup.sh index 77b4f9de21..45dfeeb869 100644 --- a/bin/tests/system/nsupdate/setup.sh +++ b/bin/tests/system/nsupdate/setup.sh @@ -12,7 +12,7 @@ SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE $SHELL clean.sh copy_setports ns1/named.conf.in ns1/named.conf diff --git a/bin/tests/system/pending/setup.sh b/bin/tests/system/pending/setup.sh index 209b9f5389..45b6365107 100644 --- a/bin/tests/system/pending/setup.sh +++ b/bin/tests/system/pending/setup.sh @@ -12,7 +12,7 @@ SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE copy_setports ns1/named.conf.in ns1/named.conf copy_setports ns2/named.conf.in ns2/named.conf diff --git a/bin/tests/system/pipelined/setup.sh b/bin/tests/system/pipelined/setup.sh index bbf45d2a23..7debdf2e34 100644 --- a/bin/tests/system/pipelined/setup.sh +++ b/bin/tests/system/pipelined/setup.sh @@ -14,7 +14,7 @@ SYSTEMTESTTOP=.. $SHELL clean.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE copy_setports ns1/named.conf.in ns1/named.conf copy_setports ns2/named.conf.in ns2/named.conf diff --git a/bin/tests/system/redirect/setup.sh b/bin/tests/system/redirect/setup.sh index 120a98f3d7..86fbdd7be6 100644 --- a/bin/tests/system/redirect/setup.sh +++ b/bin/tests/system/redirect/setup.sh @@ -14,7 +14,7 @@ SYSTEMTESTTOP=.. $SHELL clean.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE copy_setports ns1/named.conf.in ns1/named.conf copy_setports ns2/named.conf.in ns2/named.conf diff --git a/bin/tests/system/resolver/setup.sh b/bin/tests/system/resolver/setup.sh index 665606ccc1..9926dc6976 100644 --- a/bin/tests/system/resolver/setup.sh +++ b/bin/tests/system/resolver/setup.sh @@ -12,7 +12,7 @@ SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE cp ns4/tld1.db ns4/tld.db cp ns6/to-be-removed.tld.db.in ns6/to-be-removed.tld.db diff --git a/bin/tests/system/rndc/setup.sh b/bin/tests/system/rndc/setup.sh index d5cf8b7fbf..343869e960 100644 --- a/bin/tests/system/rndc/setup.sh +++ b/bin/tests/system/rndc/setup.sh @@ -14,7 +14,7 @@ SYSTEMTESTTOP=.. $SHELL clean.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE $SHELL ../genzone.sh 2 >ns2/nil.db $SHELL ../genzone.sh 2 >ns2/other.db diff --git a/bin/tests/system/rootkeysentinel/setup.sh b/bin/tests/system/rootkeysentinel/setup.sh index 130287b705..80c2a64030 100644 --- a/bin/tests/system/rootkeysentinel/setup.sh +++ b/bin/tests/system/rootkeysentinel/setup.sh @@ -14,7 +14,7 @@ SYSTEMTESTTOP=.. $SHELL clean.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE copy_setports ns1/named.conf.in ns1/named.conf copy_setports ns2/named.conf.in ns2/named.conf diff --git a/bin/tests/system/rpz/setup.sh b/bin/tests/system/rpz/setup.sh index fdb1f30b2d..3fbf0e9f61 100644 --- a/bin/tests/system/rpz/setup.sh +++ b/bin/tests/system/rpz/setup.sh @@ -37,7 +37,7 @@ for NM in '' -2 -given -disabled -passthru -no-op -nodata -nxdomain -cname -wild done # sign the root and a zone in ns2 -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE # $1=directory, $2=domain name, $3=input zone file, $4=output file signzone () { diff --git a/bin/tests/system/rsabigexponent/prereq.sh b/bin/tests/system/rsabigexponent/prereq.sh index 695c074a44..9c3580bc33 100644 --- a/bin/tests/system/rsabigexponent/prereq.sh +++ b/bin/tests/system/rsabigexponent/prereq.sh @@ -12,7 +12,7 @@ SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE if $BIGKEY > /dev/null 2>&1 then diff --git a/bin/tests/system/rsabigexponent/setup.sh b/bin/tests/system/rsabigexponent/setup.sh index 6d4684130f..71d5042e9c 100644 --- a/bin/tests/system/rsabigexponent/setup.sh +++ b/bin/tests/system/rsabigexponent/setup.sh @@ -14,7 +14,7 @@ SYSTEMTESTTOP=.. $SHELL clean.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE copy_setports ns1/named.conf.in ns1/named.conf copy_setports ns2/named.conf.in ns2/named.conf diff --git a/bin/tests/system/sfcache/prereq.sh b/bin/tests/system/sfcache/prereq.sh index e2b1339e58..79589b7c98 100644 --- a/bin/tests/system/sfcache/prereq.sh +++ b/bin/tests/system/sfcache/prereq.sh @@ -12,7 +12,7 @@ SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE if $KEYGEN -q -a RSAMD5 -b 512 -n zone -r $RANDFILE foo > /dev/null 2>&1 then diff --git a/bin/tests/system/sfcache/setup.sh b/bin/tests/system/sfcache/setup.sh index 1a2453d46c..c28445582e 100644 --- a/bin/tests/system/sfcache/setup.sh +++ b/bin/tests/system/sfcache/setup.sh @@ -14,7 +14,7 @@ SYSTEMTESTTOP=.. $SHELL clean.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE copy_setports ns1/named.conf.in ns1/named.conf copy_setports ns2/named.conf.in ns2/named.conf diff --git a/bin/tests/system/smartsign/setup.sh b/bin/tests/system/smartsign/setup.sh index 2fb9a31687..5c4a2143f0 100644 --- a/bin/tests/system/smartsign/setup.sh +++ b/bin/tests/system/smartsign/setup.sh @@ -14,4 +14,4 @@ SYSTEMTESTTOP=.. $SHELL clean.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE diff --git a/bin/tests/system/staticstub/setup.sh b/bin/tests/system/staticstub/setup.sh index 2c9b0c523c..c8865d6007 100755 --- a/bin/tests/system/staticstub/setup.sh +++ b/bin/tests/system/staticstub/setup.sh @@ -23,6 +23,6 @@ rm -f tmp copy_setports ns4/named.conf.in ns4/named.conf -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE cd ns3 && $SHELL -e sign.sh diff --git a/bin/tests/system/testcrypto.sh b/bin/tests/system/testcrypto.sh index b0913834e4..e474718938 100644 --- a/bin/tests/system/testcrypto.sh +++ b/bin/tests/system/testcrypto.sh @@ -12,7 +12,7 @@ SYSTEMTESTTOP=${SYSTEMTESTTOP:=..} . $SYSTEMTESTTOP/conf.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE prog=$0 diff --git a/bin/tests/system/tkey/setup.sh b/bin/tests/system/tkey/setup.sh index 96c9881b4d..fc95ac259a 100644 --- a/bin/tests/system/tkey/setup.sh +++ b/bin/tests/system/tkey/setup.sh @@ -14,6 +14,6 @@ SYSTEMTESTTOP=.. $SHELL clean.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE cd ns1 && $SHELL setup.sh diff --git a/bin/tests/system/tsig/setup.sh b/bin/tests/system/tsig/setup.sh index f0665fba81..4dd4a253ef 100644 --- a/bin/tests/system/tsig/setup.sh +++ b/bin/tests/system/tsig/setup.sh @@ -16,4 +16,4 @@ $SHELL clean.sh copy_setports ns1/named.conf.in ns1/named.conf -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE diff --git a/bin/tests/system/tsiggss/setup.sh b/bin/tests/system/tsiggss/setup.sh index fc3164f0c2..0d21c7b8ab 100644 --- a/bin/tests/system/tsiggss/setup.sh +++ b/bin/tests/system/tsiggss/setup.sh @@ -14,7 +14,7 @@ SYSTEMTESTTOP=.. $SHELL clean.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE copy_setports ns1/named.conf.in ns1/named.conf diff --git a/bin/tests/system/unknown/setup.sh b/bin/tests/system/unknown/setup.sh index d8f85c17bd..48c7d51d93 100644 --- a/bin/tests/system/unknown/setup.sh +++ b/bin/tests/system/unknown/setup.sh @@ -12,7 +12,7 @@ SYSTEMTESTTOP=.. $SHELL clean.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE copy_setports ns1/named.conf.in ns1/named.conf copy_setports ns2/named.conf.in ns2/named.conf diff --git a/bin/tests/system/upforwd/setup.sh b/bin/tests/system/upforwd/setup.sh index 93e394930f..48a6b7fa2e 100644 --- a/bin/tests/system/upforwd/setup.sh +++ b/bin/tests/system/upforwd/setup.sh @@ -24,7 +24,7 @@ copy_setports ns3/named.conf.in ns3/named.conf # # SIG(0) required cryptographic support which may not be configured. # -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE keyname=`$KEYGEN -q -r $RANDFILE -n HOST -a RSASHA1 -b 1024 -T KEY sig0.example2 2>/dev/null | $D2U` if test -n "$keyname" then diff --git a/bin/tests/system/verify/setup.sh b/bin/tests/system/verify/setup.sh index af4b6026ad..17d7f6d79f 100644 --- a/bin/tests/system/verify/setup.sh +++ b/bin/tests/system/verify/setup.sh @@ -14,6 +14,6 @@ SYSTEMTESTTOP=.. $SHELL clean.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE (cd zones && $SHELL genzones.sh) diff --git a/bin/tests/system/views/setup.sh b/bin/tests/system/views/setup.sh index 76a2d03544..4a158125ce 100644 --- a/bin/tests/system/views/setup.sh +++ b/bin/tests/system/views/setup.sh @@ -14,7 +14,7 @@ SYSTEMTESTTOP=.. $SHELL clean.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE cp -f ns2/example1.db ns2/example.db rm -f ns2/external/K* diff --git a/bin/tests/system/wildcard/setup.sh b/bin/tests/system/wildcard/setup.sh index 2feddbd74b..c8f1d83a6c 100644 --- a/bin/tests/system/wildcard/setup.sh +++ b/bin/tests/system/wildcard/setup.sh @@ -14,7 +14,7 @@ SYSTEMTESTTOP=.. $SHELL clean.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE copy_setports ns1/named.conf.in ns1/named.conf copy_setports ns2/named.conf.in ns2/named.conf diff --git a/bin/tests/system/zonechecks/setup.sh b/bin/tests/system/zonechecks/setup.sh index 30d049dcff..27f39f5b7e 100644 --- a/bin/tests/system/zonechecks/setup.sh +++ b/bin/tests/system/zonechecks/setup.sh @@ -14,7 +14,7 @@ SYSTEMTESTTOP=.. $SHELL clean.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE copy_setports ns1/named.conf.in ns1/named.conf copy_setports ns2/named.conf.in ns2/named.conf