Fix bug#291 and unit test spruced up.

git-svn-id: file:///svn/unbound/trunk@1948 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2010-01-06 10:55:14 +00:00
parent f555a5c6a0
commit a66bad688b
11 changed files with 96 additions and 6 deletions
+1
View File
@@ -124,6 +124,7 @@ void anchors_test()
{
ldns_buffer* buff = ldns_buffer_new(65800);
struct val_anchors* a;
unit_show_feature("trust anchor store");
unit_assert(a = anchors_create());
ldns_buffer_flip(buff);
test_anchor_empty(a);