mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
test: Seed test RNG context for each test case, print seed
This commit is contained in:
parent
ab765c2ec7
commit
fae43a97ca
9 changed files with 46 additions and 15 deletions
|
|
@ -339,7 +339,7 @@ BOOST_AUTO_TEST_CASE(streams_buffered_file)
|
|||
BOOST_AUTO_TEST_CASE(streams_buffered_file_rand)
|
||||
{
|
||||
// Make this test deterministic.
|
||||
SeedInsecureRand(true);
|
||||
SeedInsecureRand(SeedRand::ZEROS);
|
||||
|
||||
for (int rep = 0; rep < 50; ++rep) {
|
||||
FILE* file = fsbridge::fopen("streams_test_tmp", "w+b");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue