From d8ec548d50f37301c30b9adfc0382f74ddc68b60 Mon Sep 17 00:00:00 2001 From: withjannisNLnetLabs Date: Fri, 12 Jun 2026 15:01:53 +0200 Subject: [PATCH] delete json file which is now toml --- test-data/verify-readzone.json | 185 --------------------------------- 1 file changed, 185 deletions(-) delete mode 100644 test-data/verify-readzone.json diff --git a/test-data/verify-readzone.json b/test-data/verify-readzone.json deleted file mode 100644 index 85a275c..0000000 --- a/test-data/verify-readzone.json +++ /dev/null @@ -1,185 +0,0 @@ -{ - "tests": [ - { - "info": "Exclude all NS records", - "config": [ - "-e", - "NS", - "does-not-matter.zone" - ], - "input": "example.org. 1 IN NS ns1.net.\nexample.com. 1 IN A 1.1.1.1", - "output": "example.com. 1 IN A 1.1.1.1\n" - }, - { - "info": "Print only NS records", - "config": [ - "-E", - "NS", - "does-not-matter.zone" - ], - "input": "example.org. 1 IN NS ns1.net.\nexample.com. 1 IN A 1.1.1.1", - "output": "example.org. 1 IN NS ns1.net.\n" - }, - { - "info": "Error when using -b option", - "config": [ - "-b", - "does-not-matter.zone" - ], - "input": "example.com. 3600 IN DS 57855 5 1 b6dcd485719adca18e5f3d48a2331627fdd3636b", - "output": "The option -b is not implemented. Do you need it?" - }, - { - "info": "Do not print the SOA record.", - "config": [ - "-n", - "does-not-matter.zone" - ], - "input": "example.com. 42 IN SOA master.example.com. noc.example.com. 1 1 1 1 1", - "output": "" - }, - { - "info": "Serial addition 10", - "config": [ - "-S", - "+10", - "does-not-matter.zone" - ], - "input": "example.com. 42 IN SOA master.example.com. noc.example.com. 1 2 3 4 5", - "output": "example.com. 42 IN SOA master.example.com. noc.example.com. 11 2 3 4 5\n" - }, - { - "info": "Serial addition with wrap around.", - "config": [ - "-S", - "+10", - "does-not-matter.zone" - ], - "input": "example.com. 42 IN SOA master.example.com. noc.example.com. 4294967295 2 3 4 5", - "output": "example.com. 42 IN SOA master.example.com. noc.example.com. 9 2 3 4 5\n" - }, - { - "info": "Substract with wrapping around.", - "config": [ - "-S", - "-10", - "does-not-matter.zone" - ], - "input": "example.com. 42 IN SOA master.example.com. noc.example.com. 1 2 3 4 5", - "output": "example.com. 42 IN SOA master.example.com. noc.example.com. 4294967287 2 3 4 5\n" - }, - { - "info": "Set serial to 10", - "config": [ - "-S", - "10", - "does-not-matter.zone" - ], - "input": "example.com. 42 IN SOA master.example.com. noc.example.com. 1 2 3 4 5", - "output": "example.com. 42 IN SOA master.example.com. noc.example.com. 10 2 3 4 5\n" - }, - { - "info": "Do not print DNSSEC records.", - "config": [ - "-s", - "does-not-matter.zone" - ], - "input": "example.com. 3600 IN RRSIG SOA 8 2 3600 20210217232440 20210120232440 37444 example.com. AA==", - "output": "" - }, - { - "info": "Only print DNSSEC data.", - "config": [ - "-d", - "does-not-matter.zone" - ], - "input": "example.com. 42 IN SOA master.example.com. noc.example.com. 1 1 1 1 1", - "output": "" - }, - { - "info": "Mark A rr type as unknown.", - "config": [ - "-u", - "A", - "does-not-matter.zone" - ], - "input": "example.com. 3600 IN A 1.1.1.1", - "output": "example.com. 3600 IN TYPE1 \\# 4 01010101\n" - }, - { - "info": "Mark SOA as unkown type in RRSIG.", - "config": [ - "-u", - "SOA", - "does-not-matter.zone" - ], - "input": "example.com. 3600 IN RRSIG SOA 8 2 3600 20210217232440 20210120232440 37444 example.com. AA==", - "output": "example.com. 3600 IN RRSIG TYPE6 8 2 3600 20210217232440 20210120232440 37444 example.com. AA==\n" - }, - { - "info": "Read zone with seconds since epoch and print in date format.", - "config": [ - "does-not-matter.zone" - ], - "input": "example.com. 3600 IN RRSIG SOA 8 2 3600 1613604280 1611185080 37444 example.com. AA==", - "output": "example.com. 3600 IN RRSIG SOA 8 2 3600 20210217232440 20210120232440 37444 example.com. AA==\n" - }, - { - "info": "Trigger error by using -u and -U.", - "config": [ - "-u", - "SOA", - "-U", - "A", - "does-not-matter.zone" - ], - "input": "example.com. 3600 IN A 1.1.1.1", - "output": "-u and -U should not be mixed together!" - }, - { - "info": "Combine two -U flags.", - "config": [ - "-U", - "A", - "-U", - "AAAA", - "does-not-matter.zone" - ], - "input": "example.com. 1 IN A 1.1.1.1\nexample.com. 1 IN AAAA 91ed:8890:2a75:555f:8d20:fe9e:7635:7352", - "output": "example.com. 1 IN A 1.1.1.1\nexample.com. 1 IN AAAA 91ed:8890:2a75:555f:8d20:fe9e:7635:7352\n" - }, - { - "info": "Combine two -u flags.", - "config": [ - "-u", - "A", - "-u", - "AAAA", - "does-not-matter.zone" - ], - "input": "example.com. 1 IN A 1.1.1.1\nexample.com. 1 IN AAAA 91ed:8890:2a75:555f:8d20:fe9e:7635:7352", - "output": "example.com. 1 IN TYPE1 \\# 4 01010101\nexample.com. 1 IN TYPE28 \\# 16 91ED88902A75555F8D20FE9E76357352\n" - }, - { - "info": "Read from unknown print to unknown.", - "config": [ - "-u", - "A", - "-u", - "AAAA", - "does-not-matter.zone" - ], - "input": "example.com. 1 IN TYPE1 \\# 4 01010101\nexample.com. 1 IN TYPE28 \\# 16 91ED88902A75555F8D20FE9E76357352\n", - "output": "example.com. 1 IN TYPE1 \\# 4 01010101\nexample.com. 1 IN TYPE28 \\# 16 91ED88902A75555F8D20FE9E76357352\n" - }, - { - "info": "-0 zeroize timestamps and signature in RRSIG records.", - "config": [ - "-0", - "does-not-matter.zone" - ], - "input": "example.com. 3600 IN RRSIG SOA 8 2 3600 20210217232440 20210120232440 37444 example.com. AA==", - "output": "example.com. 3600 IN RRSIG SOA 8 2 3600 (null) (null) 37444 example.com. (null)\n" - } - ] -}