diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-11-18 22:22:25 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-11-18 22:22:25 -0800 |
| commit | 73b3ed5a38cdd2312351ea8f19c3c89cbfc1154c (patch) | |
| tree | e9734b4edb34bbac7c60b1fafcb8dff748687a0d /tests | |
| parent | 6499dd847ca8889ea0aa4a2fe934bcfff9466e60 (diff) | |
| download | nng-73b3ed5a38cdd2312351ea8f19c3c89cbfc1154c.tar.gz nng-73b3ed5a38cdd2312351ea8f19c3c89cbfc1154c.tar.bz2 nng-73b3ed5a38cdd2312351ea8f19c3c89cbfc1154c.zip | |
TCPv6 test suite fixes for addresses.
We moved some of the tests out of the older Convey framework into
the NUTS framework.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/tcp6.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/tcp6.c b/tests/tcp6.c index f6fd5a7c..a3ce919b 100644 --- a/tests/tcp6.c +++ b/tests/tcp6.c @@ -75,14 +75,4 @@ TestMain("TCP (IPv6) Transport", { } else { SkipSo("IPv6 not available"); } - - Convey("Malformed TCPv6 addresses do not panic", { - nng_socket s1; - - So(nng_pair_open(&s1) == 0); - Reset({ nng_close(s1); }); - So(nng_dial(s1, "tcp://::1", NULL, 0) == NNG_EADDRINVAL); - So(nng_dial(s1, "tcp://::1:5055", NULL, 0) == NNG_EADDRINVAL); - So(nng_dial(s1, "tcp://[::1]", NULL, 0) == NNG_EADDRINVAL); - }); }) |
