diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-07-25 13:24:41 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-07-25 13:24:41 -0400 |
commit | b9ad49844b50b57156bc113b9a4d8cb23bcc6d74 (patch) | |
tree | c862c78163d823f9613279bf9054e14396ae960c /src/test/test_hs_config.c | |
parent | bb66a48541aa5110e64615984448fd24ecd52ffd (diff) | |
download | tor-b9ad49844b50b57156bc113b9a4d8cb23bcc6d74.tar.gz tor-b9ad49844b50b57156bc113b9a4d8cb23bcc6d74.zip |
This caused my attempt to fix hs_config/valid_service_v2 to fail
_again_.
Third time's the charm?
Diffstat (limited to 'src/test/test_hs_config.c')
-rw-r--r-- | src/test/test_hs_config.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/test_hs_config.c b/src/test/test_hs_config.c index 4d4bbb8891..d14e3dd8ae 100644 --- a/src/test/test_hs_config.c +++ b/src/test/test_hs_config.c @@ -266,7 +266,7 @@ test_valid_service_v2(void *arg) "HiddenServiceVersion 2\n" "HiddenServicePort 80\n" "HiddenServicePort 22 localhost:22\n" -#ifndef HAVE_SYS_UN_H +#ifdef HAVE_SYS_UN_H "HiddenServicePort 42 unix:/path/to/socket\n" #endif "HiddenServiceAuthorizeClient basic alice,bob,eve\n" @@ -286,7 +286,7 @@ 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 +#ifdef HAVE_SYS_UN_H "HiddenServicePort 9000 unix:/path/to/socket\n" #endif "HiddenServiceAuthorizeClient stealth charlie,romeo\n" @@ -370,7 +370,7 @@ test_valid_service_v3(void *arg) "HiddenServiceVersion 3\n" "HiddenServicePort 80\n" "HiddenServicePort 22 localhost:22\n" -#ifndef HAVE_SYS_UN_H +#ifdef HAVE_SYS_UN_H "HiddenServicePort 42 unix:/path/to/socket\n" #endif "HiddenServiceAllowUnknownPorts 1\n" @@ -389,7 +389,7 @@ 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 +#ifdef HAVE_SYS_UN_H "HiddenServicePort 9000 unix:/path/to/socket\n" #endif "HiddenServiceAllowUnknownPorts 0\n" @@ -440,7 +440,7 @@ 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 +#ifdef HAVE_SYS_UN_H "HiddenServicePort 9000 unix:/path/to/socket\n" #endif "HiddenServiceAllowUnknownPorts 0\n" |