aboutsummaryrefslogtreecommitdiff
path: root/sntp/libevent/test/regress_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sntp/libevent/test/regress_main.c')
-rw-r--r--sntp/libevent/test/regress_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sntp/libevent/test/regress_main.c b/sntp/libevent/test/regress_main.c
index 58cbe5fe2741..3198ced1da35 100644
--- a/sntp/libevent/test/regress_main.c
+++ b/sntp/libevent/test/regress_main.c
@@ -90,6 +90,8 @@
#include "../iocp-internal.h"
#include "../event-internal.h"
+struct evutil_weakrand_state test_weakrand_state;
+
long
timeval_msec_diff(const struct timeval *start, const struct timeval *end)
{
@@ -452,6 +454,8 @@ main(int argc, const char **argv)
tinytest_set_aliases(testaliases);
+ evutil_weakrand_seed_(&test_weakrand_state, 0);
+
if (tinytest_main(argc,argv,testgroups))
return 1;