mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
fixup test
git-svn-id: file:///svn/unbound/trunk@574 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
7f4a12c652
commit
1e5a3fb786
4 changed files with 7 additions and 5 deletions
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
2
testdata/val_nodatawc_nodeny.rpl
vendored
2
testdata/val_nodatawc_nodeny.rpl
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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++ = '?';
|
||||
|
|
|
|||
Loading…
Reference in a new issue