Browse Source

Skip privileged ports tests on MacOS

juhlig 6 years ago
parent
commit
3042301779
1 changed files with 6 additions and 2 deletions
  1. 6 2
      test/acceptor_SUITE.erl

+ 6 - 2
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(),