From 72d630c2835020db3027fe7b185ad25e8a98aabc Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Sat, 30 Jun 2012 11:23:01 -0700 Subject: [PATCH] Update for DNS updates from libtest --- libtest/common.h | 1 + libtest/unittest.cc | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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; } -- 2.30.2