diff options
author | David Goulet <dgoulet@torproject.org> | 2021-02-12 13:13:50 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2021-02-12 13:13:50 -0500 |
commit | 5887c1f1f3f2c73e0750f0bf98431cba74e300bc (patch) | |
tree | 337299ae0a56dab1b3b68f0324f76cba75e209c2 /src/test | |
parent | bdca475518ca3036f1df7e78fef93bfa988cb01f (diff) | |
parent | d47e937a5074c8c9799e1d8bbd6645eea74b86ab (diff) | |
download | tor-5887c1f1f3f2c73e0750f0bf98431cba74e300bc.tar.gz tor-5887c1f1f3f2c73e0750f0bf98431cba74e300bc.zip |
Merge branch 'tor-gitlab/mr/304' into maint-0.4.5
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_config.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/test_config.c b/src/test/test_config.c index eacf12a25f..73c8ca0549 100644 --- a/src/test/test_config.c +++ b/src/test/test_config.c @@ -6924,12 +6924,14 @@ test_config_duplicate_orports(void *arg) /* We have four address here, 1 IPv4 on 9050, IPv6 on 9050, IPv6 on 9051 and * a different IPv6 on 9051. */ - tt_int_op(smartlist_len(ports), OP_EQ, 3); + tt_int_op(smartlist_len(ports), OP_EQ, 4); tt_str_op(describe_relay_port(smartlist_get(ports, 0)), OP_EQ, "ORPort 9050"); tt_str_op(describe_relay_port(smartlist_get(ports, 1)), OP_EQ, "ORPort [4242::1]:9051"); tt_str_op(describe_relay_port(smartlist_get(ports, 2)), OP_EQ, + "ORPort [4242::2]:9051"); + tt_str_op(describe_relay_port(smartlist_get(ports, 3)), OP_EQ, "ORPort 9050"); /* Reset. Test different ORPort value. */ |