From: Wouter Wijngaards Date: Fri, 31 Aug 2007 12:58:23 +0000 (+0000) Subject: fixup test X-Git-Tag: release-0.5~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e5a3fb786c8e90f7d5678c553f39d1a2e393815;p=thirdparty%2Funbound.git fixup test git-svn-id: file:///svn/unbound/trunk@574 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/daemon/worker.c b/daemon/worker.c index 437c62adf..f16867420 100644 --- a/daemon/worker.c +++ b/daemon/worker.c @@ -89,8 +89,8 @@ debug_memleak(size_t accounted, size_t heap, cur_af = total_alloc - total_free; grow_af = cur_af - base_af; grow_acc = accounted - base_accounted; - log_info("Leakage: %u leaked. growth: %u use, %u acc, %u heap", - (unsigned)(grow_af - grow_acc), (unsigned)grow_af, + log_info("Leakage: %d leaked. growth: %u use, %u acc, %u heap", + (int)(grow_af - grow_acc), (unsigned)grow_af, (unsigned)grow_acc, (unsigned)(heap - base_heap)); } diff --git a/doc/Changelog b/doc/Changelog index 30adf38d4..afbf691d1 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -3,7 +3,8 @@ - iterator should not detach target queries that it still could need. the protection against multiple outstanding queries is moved to a current_query num check. - - validator nodata tests. + - validator nodata, positive tests. + - dname print can print '*' wildcard. 30 August 2007: Wouter - fixup override date config option. diff --git a/testdata/val_nodatawc_nodeny.rpl b/testdata/val_nodatawc_nodeny.rpl index cbfef470e..81c40aa49 100644 --- a/testdata/val_nodatawc_nodeny.rpl +++ b/testdata/val_nodatawc_nodeny.rpl @@ -108,7 +108,7 @@ ENTRY_END STEP 10 CHECK_ANSWER ENTRY_BEGIN MATCH all -REPLY QR RD RA AD NOERROR +REPLY QR RD RA SERVFAIL SECTION QUESTION www.example.com. IN A SECTION ANSWER diff --git a/util/data/dname.c b/util/data/dname.c index 47598f812..e0826a29f 100644 --- a/util/data/dname.c +++ b/util/data/dname.c @@ -519,7 +519,8 @@ void dname_str(uint8_t* dname, char* str) } while(lablen--) { if(isalnum((int)*dname) - || *dname == '-' || *dname == '_') + || *dname == '-' || *dname == '_' + || *dname == '*') *s++ = *(char*)dname++; else { *s++ = '?';