From: Otto Moerbeek Date: Mon, 15 Apr 2019 13:39:55 +0000 (+0200) Subject: Tweaks suggested by rgacogne. X-Git-Tag: dnsdist-1.4.0-alpha2~16^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fcbb4e001e1cd25eef192877e65c27eeaebe1ada;p=pdns Tweaks suggested by rgacogne. --- diff --git a/pdns/recursordist/testrunner.cc b/pdns/recursordist/testrunner.cc index 78c2a1d4f..1c26d678b 100644 --- a/pdns/recursordist/testrunner.cc +++ b/pdns/recursordist/testrunner.cc @@ -30,7 +30,6 @@ #include bool init_unit_test() { - std::cerr << "Initing..." << std::endl; reportAllTypes(); return true; } diff --git a/pdns/test-packetcache_cc.cc b/pdns/test-packetcache_cc.cc index ededb4c5a..60741ba57 100644 --- a/pdns/test-packetcache_cc.cc +++ b/pdns/test-packetcache_cc.cc @@ -207,7 +207,7 @@ BOOST_AUTO_TEST_CASE(test_PacketCacheThreaded) { PC.setTTL(3600); g_PC=&PC; - g_QCmissing = 0; + g_PCmissing = 0; pthread_t tid[4]; for(int i=0; i < 4; ++i) pthread_create(&tid[i], 0, threadPCMangler, (void*)(i*1000000UL)); diff --git a/pdns/testrunner.cc b/pdns/testrunner.cc index 08545bf42..0ea154593 100644 --- a/pdns/testrunner.cc +++ b/pdns/testrunner.cc @@ -20,7 +20,6 @@ ArgvMap &arg() bool init_unit_test() { - cerr << "Initing..." << endl; reportAllTypes(); return true; }