mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
test: Add IPv6 inet_pton double "::" test
Unclear but that somehow failed on Windows once (?) according to ticket #33768 but we are not seeing that failure. Nevertheless, add a simple unit test. Closes #33768 Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
parent
32a0bc2a84
commit
edb5ef2540
@ -341,6 +341,7 @@ test_addr_ip6_helpers(void *arg)
|
||||
test_pton6_bad("0XYXXY");
|
||||
test_pton6_bad("0x");
|
||||
test_pton6_bad("0X");
|
||||
test_pton6_bad("2000::1a00::1000:fc098");
|
||||
|
||||
/* test internal checking */
|
||||
test_external_ip("fbff:ffff::2:7", 0);
|
||||
|
Loading…
Reference in New Issue
Block a user