diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-09-06 09:47:32 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-09-06 09:47:32 -0400 |
commit | 8815960c4615da0015e78c3256c3f611a30f6e6c (patch) | |
tree | e6659be5abd68f92d88684f7904ea775a5bcf5a3 /src/test/test_controller.c | |
parent | 6edee54afaaa60f34bed0dedb2792766f8683cd5 (diff) | |
parent | 326b510bae0b0d479dd924a233c6f6150737eb8b (diff) | |
download | tor-8815960c4615da0015e78c3256c3f611a30f6e6c.tar.gz tor-8815960c4615da0015e78c3256c3f611a30f6e6c.zip |
Merge remote-tracking branch 'tor-github/pr/294'
Diffstat (limited to 'src/test/test_controller.c')
-rw-r--r-- | src/test/test_controller.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/test_controller.c b/src/test/test_controller.c index d5d51758fb..0428ac6fce 100644 --- a/src/test/test_controller.c +++ b/src/test/test_controller.c @@ -346,6 +346,13 @@ test_rend_service_parse_port_config(void *arg) "in hidden service port configuration."); tor_free(err_msg); + /* Wrong target address and port separation */ + cfg = rend_service_parse_port_config("80,127.0.0.1 1234", sep, + &err_msg); + tt_ptr_op(cfg, OP_EQ, NULL); + tt_assert(err_msg); + tor_free(err_msg); + done: rend_service_port_config_free(cfg); tor_free(err_msg); |