unbound
0.1
|
Calls trust anchor unit tests. More...
#include "config.h"
#include <ldns/rr.h>
#include "util/log.h"
#include "util/data/dname.h"
#include "testcode/unitmain.h"
#include "validator/val_anchor.h"
Functions | |
static void | test_anchor_empty (struct val_anchors *a) |
test empty set | |
static void | test_anchor_one (ldns_buffer *buff, struct val_anchors *a) |
test set of one anchor | |
static void | test_anchors (ldns_buffer *buff, struct val_anchors *a) |
test with several anchors | |
void | anchors_test (void) |
unit test trust anchor storage functions |
Calls trust anchor unit tests.
Exits with code 1 on a failure.