]> granicus.if.org Git - pdns/commitdiff
Tweaks suggested by rgacogne.
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 15 Apr 2019 13:39:55 +0000 (15:39 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 15 Apr 2019 13:39:55 +0000 (15:39 +0200)
pdns/recursordist/testrunner.cc
pdns/test-packetcache_cc.cc
pdns/testrunner.cc

index 78c2a1d4f5f9b382b9678ac29342ce030c16663c..1c26d678b842b297c4217af109d9b83b2a992b41 100644 (file)
@@ -30,7 +30,6 @@
 #include <dnsrecords.hh>
 
 bool init_unit_test() {
-  std::cerr << "Initing..." << std::endl;
   reportAllTypes();
   return true;
 }
index ededb4c5a31442cc842a9e26c9ca01c31d9027be..60741ba572b033dfcd1d301bec9bdd7a6754cb2e 100644 (file)
@@ -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));
index 08545bf425bbeecfede96823836600272da3e131..0ea154593f0acec2b56d1baba40fbffd2121d981 100644 (file)
@@ -20,7 +20,6 @@ ArgvMap &arg()
 
 
 bool init_unit_test() {
-  cerr << "Initing..." << endl;
   reportAllTypes();
   return true;
 }