summaryrefslogtreecommitdiff
path: root/src/test/test_addr.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-11-12 13:44:57 -0500
committerNick Mathewson <nickm@torproject.org>2014-11-12 13:44:57 -0500
commit9b11dc36179e48bd39e57a9f3e0e26a25f50adfa (patch)
treebac57730fde53f72349a7cf81145ddcb4b417d5b /src/test/test_addr.c
parent4ac5175109b14f8fafca3374ab5ca63968ab2cca (diff)
parentecd16edafe5afbf00c5775d9f41457d4b015dc2c (diff)
downloadtor-9b11dc36179e48bd39e57a9f3e0e26a25f50adfa.tar.gz
tor-9b11dc36179e48bd39e57a9f3e0e26a25f50adfa.zip
Merge remote-tracking branch 'public/bug7484'
Conflicts: src/test/test_addr.c
Diffstat (limited to 'src/test/test_addr.c')
-rw-r--r--src/test/test_addr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/test_addr.c b/src/test/test_addr.c
index a254a34e45..c9c47bdaee 100644
--- a/src/test/test_addr.c
+++ b/src/test/test_addr.c
@@ -654,7 +654,7 @@ test_addr_ip6_helpers(void *arg)
tt_int_op(r, OP_EQ, -1);
r=tor_addr_parse_mask_ports("*6",0,&t1, &mask, NULL, NULL);
tt_int_op(r, OP_EQ, -1);
-#if 0
+ tt_assert(r == -1);
/* Try a mask with a wildcard. */
r=tor_addr_parse_mask_ports("*/16",0,&t1, &mask, NULL, NULL);
tt_assert(r == -1);
@@ -664,7 +664,6 @@ test_addr_ip6_helpers(void *arg)
r=tor_addr_parse_mask_ports("*6/30",TAPMP_EXTENDED_STAR,
&t1, &mask, NULL, NULL);
tt_assert(r == -1);
-#endif
/* Basic mask tests*/
r=tor_addr_parse_mask_ports("1.1.2.2/31",0,&t1, &mask, NULL, NULL);
tt_assert(r == AF_INET);