From: Otto Moerbeek Date: Mon, 15 Apr 2019 12:48:25 +0000 (+0200) Subject: Fix init of global to make tests order independent. X-Git-Tag: dnsdist-1.4.0-alpha2~16^2~1 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fpdns.git;a=commitdiff_plain;h=840a623a519d4d342f58187cca93b4f065fe3a9a Fix init of global to make tests order independent. --- diff --git a/pdns/dnsdistdist/test-delaypipe_hh.cc b/pdns/dnsdistdist/test-delaypipe_hh.cc index a4dc324c53..3d1c1b00df 100644 --- a/pdns/dnsdistdist/test-delaypipe_hh.cc +++ b/pdns/dnsdistdist/test-delaypipe_hh.cc @@ -26,7 +26,8 @@ BOOST_AUTO_TEST_CASE(test_object_pipe) { }; int done=0; -BOOST_AUTO_TEST_CASE(test_delay_pipe_small) { +BOOST_AUTO_TEST_CASE(test_delay_pipe_small) { + done=0; struct Work { int i;