diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0ca7cd6d0b..71d8e02915 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -115,7 +115,7 @@ stages: - test -w "${CCACHE_DIR}" && export PATH="/usr/lib/ccache:${PATH}" - autoreconf -fi script: - - ./configure --enable-developer --with-libtool --disable-static --with-cmocka --with-libidn2 --prefix=$HOME/.local --without-make-clean "${EXTRA_CONFIGURE}" || cat config.log + - ./configure --enable-developer --with-randomdev=/dev/urandom --with-libtool --disable-static --with-cmocka --with-libidn2 --prefix=$HOME/.local --without-make-clean "${EXTRA_CONFIGURE}" || cat config.log - make -j${PARALLEL_JOBS_BUILD:-1} -k all V=1 artifacts: paths: 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/cds/setup.sh b/bin/tests/system/cds/setup.sh index 99bb6eb0ba..2f022dae01 100644 --- a/bin/tests/system/cds/setup.sh +++ b/bin/tests/system/cds/setup.sh @@ -16,7 +16,7 @@ SYSTEMTESTTOP=.. $SHELL clean.sh -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE touch empty diff --git a/bin/tests/system/chain/setup.sh b/bin/tests/system/chain/setup.sh index c2b0d69de7..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 400 $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 2a3b8a2ebd..f81228a24c 100644 --- a/bin/tests/system/conf.sh.in +++ b/bin/tests/system/conf.sh.in @@ -72,6 +72,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 9fff0f3014..66baa3ee84 100644 --- a/bin/tests/system/conf.sh.win32 +++ b/bin/tests/system/conf.sh.win32 @@ -79,6 +79,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/keepalive/setup.sh b/bin/tests/system/keepalive/setup.sh index dc74cd786f..76de28ac4a 100644 --- a/bin/tests/system/keepalive/setup.sh +++ b/bin/tests/system/keepalive/setup.sh @@ -18,4 +18,4 @@ copy_setports ns1/named.conf.in ns1/named.conf copy_setports ns2/named.conf.in ns2/named.conf copy_setports ns3/named.conf.in ns3/named.conf -test -r $RANDFILE || $GENRANDOM 800 $RANDFILE +test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE 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 796bc23567..9a80143016 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 0ecfc394db..81b5ced81a 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 b52649e4e1..e16584fc9e 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/padding/setup.sh b/bin/tests/system/padding/setup.sh index bbf45d2a23..7debdf2e34 100644 --- a/bin/tests/system/padding/setup.sh +++ b/bin/tests/system/padding/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/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 0b78122123..15733fda66 100644 --- a/bin/tests/system/rpz/setup.sh +++ b/bin/tests/system/rpz/setup.sh @@ -70,7 +70,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 d46b69db5f..5a38b0c248 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 1024 -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/synthfromdnssec/setup.sh b/bin/tests/system/synthfromdnssec/setup.sh index 9dea6478fe..f1194373b5 100644 --- a/bin/tests/system/synthfromdnssec/setup.sh +++ b/bin/tests/system/synthfromdnssec/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/testcrypto.sh b/bin/tests/system/testcrypto.sh index 4716cdff40..807f2b185a 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 38804205b6..d3b520b82b 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 9a24704486..f0dbccb1b8 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