diff options
author | Linus Nordberg <linus@nordu.net> | 2016-04-06 10:07:48 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2016-04-06 10:07:48 +0200 |
commit | 28bc4ae4d9cf9f34f9dcd99da1c89bdb56a2bd38 (patch) | |
tree | 1466969b12989b1645f39aa7f742ff4f5880807d /test | |
parent | ba016c8b02006943198aa5bfb68cf13fccdc33ca (diff) |
Add unit test for validation, from dnssecport:handle_call().
- The port now returns the RRset (DS, chain, trust root and all
RRSIG's). This in preparatino for when this data will be normalised.
- dnssecport decodes and encodes DNS data.
- v1 stores the DS RR in the leaf and the rest, including the DS
RRSIG, in the chain.
Diffstat (limited to 'test')
-rwxr-xr-x | test/check.erl | 2 | ||||
-rw-r--r-- | test/testdata/dnssec/req.1 | bin | 0 -> 2597 bytes | |||
-rw-r--r-- | test/testdata/dnssec/trust_anchors | bin | 0 -> 433 bytes |
3 files changed, 1 insertions, 1 deletions
diff --git a/test/check.erl b/test/check.erl index 2cb388c..caad037 100755 --- a/test/check.erl +++ b/test/check.erl @@ -8,5 +8,5 @@ %% config/check.config. main(_) -> - ok = dnssecport:test(). + ok = dnssecport:test(), ok = catlfish:test(). diff --git a/test/testdata/dnssec/req.1 b/test/testdata/dnssec/req.1 Binary files differnew file mode 100644 index 0000000..e15a791 --- /dev/null +++ b/test/testdata/dnssec/req.1 diff --git a/test/testdata/dnssec/trust_anchors b/test/testdata/dnssec/trust_anchors Binary files differnew file mode 100644 index 0000000..06a1a21 --- /dev/null +++ b/test/testdata/dnssec/trust_anchors |