diff options
author | Jörg Frings-Fürst <debian@jff-webhsoting.net> | 2015-11-01 18:59:02 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhsoting.net> | 2015-11-01 18:59:02 +0100 |
commit | bb0fbadacbd603b1e8d258f75ff5ca8ee481feb4 (patch) | |
tree | 44969a203592f9fe55d8db7ecb20f3747002d6a7 /test/test.cpp | |
parent | d4ba486cc6aacbbed2be1e71ea77410052a22ac1 (diff) |
Imported Upstream version 0.8.4upstream/0.8.4
Diffstat (limited to 'test/test.cpp')
-rw-r--r-- | test/test.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/test.cpp b/test/test.cpp index 670aa07..d6f14cb 100644 --- a/test/test.cpp +++ b/test/test.cpp @@ -281,8 +281,11 @@ Rule | Example | hostSet | absPath | emptySeg URI_TEST_IP_SIX_FAIL("0:0:0:0:0:0:0:"); URI_TEST_IP_SIX_FAIL("0:0:0:0:0:0:0:1.2.3.4"); - // Nine quads - URI_TEST_IP_SIX_FAIL("0:0:0:0:0:0:0:0:0"); + // Nine quads (or more) + URI_TEST_IP_SIX_FAIL("1:2:3:4:5:6:7:8:9"); + URI_TEST_IP_SIX_FAIL("::2:3:4:5:6:7:8:9"); + URI_TEST_IP_SIX_FAIL("1:2:3:4::6:7:8:9"); + URI_TEST_IP_SIX_FAIL("1:2:3:4:5:6:7:8::"); // Invalid IPv4 part URI_TEST_IP_SIX_FAIL("::ffff:001.02.03.004"); // Leading zeros |