mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-10 20:07:43 +02:00
Commit to help ldns test.
git-svn-id: file:///svn/unbound/trunk@248 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
@@ -211,11 +211,13 @@ main(int argc, char* argv[])
|
||||
}
|
||||
printf("Start of %s unit test.\n", PACKAGE_STRING);
|
||||
checklock_start();
|
||||
/*
|
||||
net_test();
|
||||
alloc_test();
|
||||
msgreply_test();
|
||||
lruhash_test();
|
||||
slabhash_test();
|
||||
*/
|
||||
msgparse_test();
|
||||
checklock_stop();
|
||||
printf("%d tests succeeded\n", testcount);
|
||||
|
||||
@@ -298,7 +298,10 @@ testfromfile(ldns_buffer* pkt, struct alloc_cache* alloc, ldns_buffer* out,
|
||||
continue;
|
||||
if(strlen(buf) < 10) /* skip pcat line numbers. */
|
||||
continue;
|
||||
if(0) printf("test no %d\n", no);
|
||||
if(0) {
|
||||
printf("test no %d: %s", no, buf);
|
||||
fflush(stdout);
|
||||
}
|
||||
testpkt(pkt, alloc, out, buf);
|
||||
no++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user