Update for DNS updates from libtest
authorBrian Aker <brian@tangent.org>
Sat, 30 Jun 2012 18:23:01 +0000 (11:23 -0700)
committerBrian Aker <brian@tangent.org>
Sat, 30 Jun 2012 18:23:01 +0000 (11:23 -0700)
libtest/common.h
libtest/unittest.cc

index 777d21c3cfd85fb0d2ecb136512c9b878aba911a..498baf341a5e4235a746fc78268a20394a063507 100644 (file)
@@ -77,4 +77,5 @@
 #include <libtest/libtool.hpp>
 #include <libtest/killpid.h>
 #include <libtest/signal.h>
+#include <libtest/dns.hpp>
 
index ff73aa40c251756c5cc69bcbd380dc2c55d2097f..11f78071d06aa1d970216706c0de66cd2dd669ed 100644 (file)
@@ -721,14 +721,14 @@ static test_return_t number_of_cpus_TEST(void *)
 
 static test_return_t check_dns_TEST(void *)
 {
-  test_warn(libtest::check_dns(), "Broken DNS server/no DNS server found");
+  test_warn_hint(libtest::check_dns(), "Broken DNS server/no DNS server found");
 
   return TEST_SUCCESS;
 }
 
 static test_return_t lookup_true_TEST(void *)
 {
-  test_warn(libtest::lookup("exist.gearman.info"), "dns is not currently working");
+  test_warn_hint(libtest::lookup("exist.gearman.info"), "dns is not currently working");
   return TEST_SUCCESS;
 }