From: Brian Aker Date: Sat, 30 Jun 2012 18:23:01 +0000 (-0700) Subject: Update for DNS updates from libtest X-Git-Tag: 1.0.9~2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=72d630c2835020db3027fe7b185ad25e8a98aabc;p=m6w6%2Flibmemcached Update for DNS updates from libtest --- diff --git a/libtest/common.h b/libtest/common.h index 777d21c3..498baf34 100644 --- a/libtest/common.h +++ b/libtest/common.h @@ -77,4 +77,5 @@ #include #include #include +#include diff --git a/libtest/unittest.cc b/libtest/unittest.cc index ff73aa40..11f78071 100644 --- a/libtest/unittest.cc +++ b/libtest/unittest.cc @@ -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; }