mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-23 16:20:26 -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;
|
cur_af = total_alloc - total_free;
|
||||||
grow_af = cur_af - base_af;
|
grow_af = cur_af - base_af;
|
||||||
grow_acc = accounted - base_accounted;
|
grow_acc = accounted - base_accounted;
|
||||||
log_info("Leakage: %u leaked. growth: %u use, %u acc, %u heap",
|
log_info("Leakage: %d leaked. growth: %u use, %u acc, %u heap",
|
||||||
(unsigned)(grow_af - grow_acc), (unsigned)grow_af,
|
(int)(grow_af - grow_acc), (unsigned)grow_af,
|
||||||
(unsigned)grow_acc, (unsigned)(heap - base_heap));
|
(unsigned)grow_acc, (unsigned)(heap - base_heap));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,8 @@
|
||||||
- iterator should not detach target queries that it still could need.
|
- iterator should not detach target queries that it still could need.
|
||||||
the protection against multiple outstanding queries is moved to a
|
the protection against multiple outstanding queries is moved to a
|
||||||
current_query num check.
|
current_query num check.
|
||||||
- validator nodata tests.
|
- validator nodata, positive tests.
|
||||||
|
- dname print can print '*' wildcard.
|
||||||
|
|
||||||
30 August 2007: Wouter
|
30 August 2007: Wouter
|
||||||
- fixup override date config option.
|
- 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
|
STEP 10 CHECK_ANSWER
|
||||||
ENTRY_BEGIN
|
ENTRY_BEGIN
|
||||||
MATCH all
|
MATCH all
|
||||||
REPLY QR RD RA AD NOERROR
|
REPLY QR RD RA SERVFAIL
|
||||||
SECTION QUESTION
|
SECTION QUESTION
|
||||||
www.example.com. IN A
|
www.example.com. IN A
|
||||||
SECTION ANSWER
|
SECTION ANSWER
|
||||||
|
|
|
||||||
|
|
@ -519,7 +519,8 @@ void dname_str(uint8_t* dname, char* str)
|
||||||
}
|
}
|
||||||
while(lablen--) {
|
while(lablen--) {
|
||||||
if(isalnum((int)*dname)
|
if(isalnum((int)*dname)
|
||||||
|| *dname == '-' || *dname == '_')
|
|| *dname == '-' || *dname == '_'
|
||||||
|
|| *dname == '*')
|
||||||
*s++ = *(char*)dname++;
|
*s++ = *(char*)dname++;
|
||||||
else {
|
else {
|
||||||
*s++ = '?';
|
*s++ = '?';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue