aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_hs_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_hs_config.c')
-rw-r--r--src/test/test_hs_config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_hs_config.c b/src/test/test_hs_config.c
index 343ce9f2f8..16f51f808f 100644
--- a/src/test/test_hs_config.c
+++ b/src/test/test_hs_config.c
@@ -266,7 +266,9 @@ test_valid_service_v2(void *arg)
"HiddenServiceVersion 2\n"
"HiddenServicePort 80\n"
"HiddenServicePort 22 localhost:22\n"
+#ifndef HAVE_SYS_UN_H
"HiddenServicePort 42 unix:/path/to/socket\n"
+#endif
"HiddenServiceAuthorizeClient basic alice,bob,eve\n"
"HiddenServiceAllowUnknownPorts 1\n"
"HiddenServiceMaxStreams 42\n"