]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix init of global to make tests order independent.
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 15 Apr 2019 12:48:25 +0000 (14:48 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 15 Apr 2019 12:48:25 +0000 (14:48 +0200)
pdns/dnsdistdist/test-delaypipe_hh.cc

index a4dc324c53e498658426cfb5dcf77bf4351b5075..3d1c1b00dfac00e3d323a84dcc4f1ef23305ca35 100644 (file)
@@ -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;