From fcbb4e001e1cd25eef192877e65c27eeaebe1ada Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 15 Apr 2019 15:39:55 +0200 Subject: [PATCH] Tweaks suggested by rgacogne. --- pdns/recursordist/testrunner.cc | 1 - pdns/test-packetcache_cc.cc | 2 +- pdns/testrunner.cc | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pdns/recursordist/testrunner.cc b/pdns/recursordist/testrunner.cc index 78c2a1d4f5..1c26d678b8 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 ededb4c5a3..60741ba572 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 08545bf425..0ea154593f 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; } -- 2.47.2