aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjuhlig <[email protected]>2019-06-03 10:19:08 +0200
committerjuhlig <[email protected]>2019-06-03 10:19:08 +0200
commit3042301779ca30e6342c6ea3075ba8f2ee282470 (patch)
treec5c1f6476c95381688e0926864b6fca10ec511f8
parent8436e96544d79a5b5d32221925f60334cc33b205 (diff)
downloadranch-3042301779ca30e6342c6ea3075ba8f2ee282470.tar.gz
ranch-3042301779ca30e6342c6ea3075ba8f2ee282470.tar.bz2
ranch-3042301779ca30e6342c6ea3075ba8f2ee282470.zip
Skip privileged ports tests on MacOS
-rw-r--r--test/acceptor_SUITE.erl8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/acceptor_SUITE.erl b/test/acceptor_SUITE.erl
index 0267ff4..33d7969 100644
--- a/test/acceptor_SUITE.erl
+++ b/test/acceptor_SUITE.erl
@@ -721,7 +721,9 @@ ssl_error_no_cert(_) ->
ssl_error_eacces(_) ->
case os:type() of
{win32, nt} ->
- doc("There are no privileged ports on Windows.");
+ {skip, "No privileged ports."};
+ {unix, darwin} ->
+ {skip, "No privileged ports."};
_ ->
doc("Ensure that failure due to an eacces returns a compact readable error."),
Name = name(),
@@ -1096,7 +1098,9 @@ tcp_error_eaddrinuse(_) ->
tcp_error_eacces(_) ->
case os:type() of
{win32, nt} ->
- doc("There are no privileged ports on Windows.");
+ {skip, "No privileged ports."};
+ {unix, darwin} ->
+ {skip, "No privileged ports."};
_ ->
doc("Ensure that failure due to an eacces returns a compact readable error."),
Name = name(),