From 28bc4ae4d9cf9f34f9dcd99da1c89bdb56a2bd38 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Wed, 6 Apr 2016 10:07:48 +0200 Subject: 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. --- test/check.erl | 2 +- test/testdata/dnssec/req.1 | Bin 0 -> 2597 bytes test/testdata/dnssec/trust_anchors | Bin 0 -> 433 bytes 3 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 test/testdata/dnssec/req.1 create mode 100644 test/testdata/dnssec/trust_anchors (limited to 'test') 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 new file mode 100644 index 0000000..e15a791 Binary files /dev/null and b/test/testdata/dnssec/req.1 differ diff --git a/test/testdata/dnssec/trust_anchors b/test/testdata/dnssec/trust_anchors new file mode 100644 index 0000000..06a1a21 Binary files /dev/null and b/test/testdata/dnssec/trust_anchors differ -- cgit v1.1