bind9/bin/tests
Michał Kępień c12388f5e8 Do not call bin/tools/genrandom unconditionally in system tests
$RANDFILE, i.e. bin/tests/system/random.data, should only be written to
if a system test requires support for cryptography and that file does
not already exist.  Otherwise, when multiple system tests are run in
parallel, that file might get truncated due to bin/tools/genrandom.c
using fopen() with mode "w" when writing the destination file.  With
unfortunate timing, this may cause system tests employing BIND tools
which need entropy (e.g. dnssec-keygen) to fail.

Make sure bin/tests/system/metadata/tests.sh no longer calls
bin/tools/genrandom since $RANDFILE is guaranteed to already be created
by the time bin/tools/genrandom is currently called because
bin/tests/system/metadata/prereq.sh uses bin/tests/system/testcrypto.sh.

Make sure bin/tests/system/sfcache/prereq.sh only writes to $RANDFILE if
it does not already exist.
2018-08-24 09:57:15 +02:00
..
bigtest update file headers 2018-03-15 18:40:21 -07:00
optional Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
pkcs11 Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
startperf Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:19:35 +02:00
system Do not call bin/tools/genrandom unconditionally in system tests 2018-08-24 09:57:15 +02:00
testdata/wire move all optional tests from bin/tests to bin/tests/optional 2018-03-09 14:39:54 -08:00
virtual-time Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:19:35 +02:00
win32 [master] add libns and remove liblwres 2017-09-08 13:47:34 -07:00
.gitignore migrate t_dst signature test to lib/dns/tests/dst_test 2018-03-09 14:39:56 -08:00
cfg_test.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
fromhex.pl Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
headerdep_test.sh.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:19:35 +02:00
Makefile.in Alter distclean rule to prevent recursing into the same directory twice 2018-04-10 20:04:31 -07:00
makejournal.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
named.conf Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:19:35 +02:00
wire_test.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00