diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2021-08-08 17:38:01 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2021-08-08 17:44:33 +0100 |
commit | 60a4ceafecdf10647d01127bdae8252fc5b84508 (patch) | |
tree | 330bbc96207a97266849a713a74d03c60a08e262 /test | |
parent | 730acb14092de4443ba3c5c38532f3ca9b3e75d3 (diff) |
Testsuite: add missing mask / ipv6 expansion
Diffstat (limited to 'test')
-rw-r--r-- | test/scripts/0000-Basic/0002 | 3 | ||||
-rw-r--r-- | test/stdout/0002 | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0002 b/test/scripts/0000-Basic/0002 index cc289e04e..e74ca6e39 100644 --- a/test/scripts/0000-Basic/0002 +++ b/test/scripts/0000-Basic/0002 @@ -248,6 +248,9 @@ mask: ${mask:192.168.10.206/33} mask: ${mask:192.168.10.206/0} mask: ${mask:192.168.10.206} mask: ${mask:a.b.c.d} +mask: ${mask:2a00:2:3:4:5:6:7:8/79} +mask: ${mask:2a00:2:3:4:5:6:7:8/128} +mask: ${mask:2a00:2:3:4:5:6:7:8/129} ipv6denorm: ${ipv6denorm:::1} ipv6denorm: ${ipv6denorm:fe00::1} ipv6denorm: ${ipv6denorm:192.168.0.1} diff --git a/test/stdout/0002 b/test/stdout/0002 index 0b9a95cd5..f6f722e47 100644 --- a/test/stdout/0002 +++ b/test/stdout/0002 @@ -230,6 +230,9 @@ newline tab\134backslash ~tilde\177DEL\200\201. > mask: 0.0.0.0/0 > Failed: missing mask value in "192.168.10.206" > Failed: "a.b.c.d" is not an IP address +> mask: 2a00.0002.0003.0004.0004.0000.0000.0000/79 +> mask: 2a00.0002.0003.0004.0005.0006.0007.0008/128 +> Failed: mask value too big in "2a00:2:3:4:5:6:7:8/129" > ipv6denorm: 0000:0000:0000:0000:0000:0000:0000:0001 > ipv6denorm: fe00:0000:0000:0000:0000:0000:0000:0001 > ipv6denorm: 0000:0000:0000:0000:0000:ffff:c0a8:0001 |