[tor-commits] [tor/master] Test another codepath in inet_ntop

nickm at torproject.org nickm at torproject.org
Tue Jan 5 07:03:25 UTC 2016


commit a8749ea9fd6d2a686293a6f24dec4dd4a52b1e3e
Author: Nick Mathewson <nickm at torproject.org>
Date:   Sun Jan 3 08:27:44 2016 -0800

    Test another codepath in inet_ntop
---
 src/test/test_addr.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/test/test_addr.c b/src/test/test_addr.c
index 2c25c1e..85130db 100644
--- a/src/test/test_addr.c
+++ b/src/test/test_addr.c
@@ -302,6 +302,7 @@ test_addr_ip6_helpers(void *arg)
 
   //test_ntop6_reduces("0:0:0:0:0:0:c0a8:0101", "::192.168.1.1");
   test_ntop6_reduces("0:0:0:0:0:ffff:c0a8:0101", "::ffff:192.168.1.1");
+  test_ntop6_reduces("0:0:0:0:0:0:c0a8:0101", "::192.168.1.1");
   test_ntop6_reduces("002:0:0000:0:3::4", "2::3:0:0:4");
   test_ntop6_reduces("0:0::1:0:3", "::1:0:3");
   test_ntop6_reduces("008:0::0", "8::");





More information about the tor-commits mailing list