From 99ff36c7fc7903bbb75b7109cb3f9f2b154c48f5 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sun, 26 Oct 2008 18:21:31 +1300 Subject: [PATCH] More build fixes. This one in DNS. Also updated the testbed to reveal 'No such file or directory' errors. That reveals two more build issues in DiskIO when something is disabled. --- src/dns.cc | 2 +- test-builds.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dns.cc b/src/dns.cc index ae432a6597..59d0b9c7ee 100644 --- a/src/dns.cc +++ b/src/dns.cc @@ -58,7 +58,7 @@ dnsStats(StoreEntry * sentry) static void dnsRegisterWithCacheManager(void) { - CacheManager::GetInstance-> + CacheManager::GetInstance()-> registerAction("dns", "Dnsserver Statistics", dnsStats, 0, 1); } diff --git a/test-builds.sh b/test-builds.sh index 1e02054fb0..62da1dcad4 100755 --- a/test-builds.sh +++ b/test-builds.sh @@ -25,6 +25,6 @@ for f in `ls -1 ./test-suite/buildtests/layer*.opts` ; do arg=`echo "${f}" | sed s/\\.opts//` echo "TESTING: ${arg}" ../test-suite/buildtest.sh ".${arg}" || - ( grep -E "^ERROR|\ error:\ " buildtest_*.log && exit 1 ) + ( grep -E "^ERROR|\ error:\ |No\ such" buildtest_*.log && exit 1 ) cd .. done -- 2.47.3