diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-02-01 10:21:11 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-02-01 10:21:11 -0500 |
commit | ac7e43d30a27dea5485f3ff00f4dd256859bf7aa (patch) | |
tree | f38175e21f08777891d13157adcc16285906c2ec /src | |
parent | 49442b5e67710b7ed3c365c342aec3c18beb41d5 (diff) | |
download | tor-ac7e43d30a27dea5485f3ff00f4dd256859bf7aa.tar.gz tor-ac7e43d30a27dea5485f3ff00f4dd256859bf7aa.zip |
Redux: don't expect unix sockets to be accepted on windows
Diffstat (limited to 'src')
-rw-r--r-- | src/test/test_config.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/test_config.c b/src/test/test_config.c index c00e8e14e6..85bedd62c9 100644 --- a/src/test/test_config.c +++ b/src/test/test_config.c @@ -4427,10 +4427,14 @@ test_config_parse_port_config__ports__ports_given(void *data) ret = parse_port_config(slout, config_port_valid, NULL, "DNS", CONN_TYPE_AP_LISTENER, "127.0.0.46", 0, CL_PORT_DFLT_GROUP_WRITABLE); +#ifdef _WIN32 + tt_int_op(ret, OP_EQ, -1); +#else tt_int_op(ret, OP_EQ, 0); tt_int_op(smartlist_len(slout), OP_EQ, 1); port_cfg = (port_cfg_t *)smartlist_get(slout, 0); tt_int_op(port_cfg->is_group_writable, OP_EQ, 1); +#endif done: smartlist_free(slout); |