]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
fixup test
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 31 Aug 2007 12:58:23 +0000 (12:58 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 31 Aug 2007 12:58:23 +0000 (12:58 +0000)
git-svn-id: file:///svn/unbound/trunk@574 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/worker.c
doc/Changelog
testdata/val_nodatawc_nodeny.rpl
util/data/dname.c

index 437c62adf0bb02f18327aaaf50473cbedca50ef9..f168674203db69f0ca2a3024837114805b2cf81e 100644 (file)
@@ -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));
 }
 
index 30adf38d47290b2475248c224756f61fc523ff50..afbf691d1feb79782edd9173dbd34b5f48da19ff 100644 (file)
@@ -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.
index cbfef470e9727d22e036fafeb6cef3a742c0bcd0..81c40aa49b45e50ae91cc9600580fa887c9fad97 100644 (file)
@@ -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
index 47598f81206c555982d3fa0eaeba6da96f99e1a3..e0826a29f45a6f6a08c37ef6c8e3f0507011a1a3 100644 (file)
@@ -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++ = '?';