aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2017-10-27 10:23:50 +0200
committerJohn Högberg <[email protected]>2017-11-30 15:44:38 +0100
commit186018a4ce8f3e5ad3f7c10959964d3b7669bb64 (patch)
treeabb14523c7ca296193cd7009e9be39886d2f6a24
parentb5149c7073896f3ddb8c7995b2b0992007a1f0e2 (diff)
downloadotp-186018a4ce8f3e5ad3f7c10959964d3b7669bb64.tar.gz
otp-186018a4ce8f3e5ad3f7c10959964d3b7669bb64.tar.bz2
otp-186018a4ce8f3e5ad3f7c10959964d3b7669bb64.zip
Skip efile_SUITE:iter_max_files on Windows
-rw-r--r--erts/emulator/test/efile_SUITE.erl6
1 files changed, 6 insertions, 0 deletions
diff --git a/erts/emulator/test/efile_SUITE.erl b/erts/emulator/test/efile_SUITE.erl
index 98d7aa739e..16d581a567 100644
--- a/erts/emulator/test/efile_SUITE.erl
+++ b/erts/emulator/test/efile_SUITE.erl
@@ -37,6 +37,12 @@ all() ->
%%
iter_max_files(Config) when is_list(Config) ->
+ case os:type() of
+ {win32, _} -> {skip, "Windows lacks a hard limit on file handles"};
+ _ -> iter_max_files_1(Config)
+ end.
+
+iter_max_files_1(Config) ->
DataDir = proplists:get_value(data_dir,Config),
TestFile = filename:join(DataDir, "existing_file"),
N = 10,