diff options
-rw-r--r-- | src/test/test_hs_config.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/test_hs_config.c b/src/test/test_hs_config.c index 16f51f808f..4d4bbb8891 100644 --- a/src/test/test_hs_config.c +++ b/src/test/test_hs_config.c @@ -286,7 +286,9 @@ test_valid_service_v2(void *arg) "HiddenServiceVersion 2\n" "HiddenServicePort 65535\n" "HiddenServicePort 22 1.1.1.1:22\n" +#ifndef HAVE_SYS_UN_H "HiddenServicePort 9000 unix:/path/to/socket\n" +#endif "HiddenServiceAuthorizeClient stealth charlie,romeo\n" "HiddenServiceAllowUnknownPorts 0\n" "HiddenServiceMaxStreams 42\n" @@ -368,7 +370,9 @@ test_valid_service_v3(void *arg) "HiddenServiceVersion 3\n" "HiddenServicePort 80\n" "HiddenServicePort 22 localhost:22\n" +#ifndef HAVE_SYS_UN_H "HiddenServicePort 42 unix:/path/to/socket\n" +#endif "HiddenServiceAllowUnknownPorts 1\n" "HiddenServiceMaxStreams 42\n" "HiddenServiceMaxStreamsCloseCircuit 0\n" @@ -385,7 +389,9 @@ test_valid_service_v3(void *arg) "HiddenServiceVersion 3\n" "HiddenServicePort 65535\n" "HiddenServicePort 22 1.1.1.1:22\n" +#ifndef HAVE_SYS_UN_H "HiddenServicePort 9000 unix:/path/to/socket\n" +#endif "HiddenServiceAllowUnknownPorts 0\n" "HiddenServiceMaxStreams 42\n" "HiddenServiceMaxStreamsCloseCircuit 0\n" @@ -434,7 +440,9 @@ test_staging_service_v3(void *arg) "HiddenServiceVersion 3\n" "HiddenServicePort 65535\n" "HiddenServicePort 22 1.1.1.1:22\n" +#ifndef HAVE_SYS_UN_H "HiddenServicePort 9000 unix:/path/to/socket\n" +#endif "HiddenServiceAllowUnknownPorts 0\n" "HiddenServiceMaxStreams 42\n" "HiddenServiceMaxStreamsCloseCircuit 0\n" |