Testsuite: add missing mask / ipv6 expansion
authorJeremy Harris <jgh146exb@wizmail.org>
Sun, 8 Aug 2021 16:38:01 +0000 (17:38 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Sun, 8 Aug 2021 16:44:33 +0000 (17:44 +0100)
test/scripts/0000-Basic/0002
test/stdout/0002

index cc289e04eeb9618b960cbb84bf97cec9f9899e5c..e74ca6e39607e38734efe84d0aed348168a25f64 100644 (file)
@@ -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}
index 0b9a95cd5fa566b4a6982a2d83449efb68a20175..f6f722e472a002eeef2ac36db295390cb4f5faee 100644 (file)
@@ -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