diff options
Diffstat (limited to 'lib/tools/test/ignore_cores.erl')
-rw-r--r-- | lib/tools/test/ignore_cores.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tools/test/ignore_cores.erl b/lib/tools/test/ignore_cores.erl index 4af5efe834..da6f6850c6 100644 --- a/lib/tools/test/ignore_cores.erl +++ b/lib/tools/test/ignore_cores.erl @@ -94,7 +94,7 @@ setup(Suite, Testcase, Config, SetCwd) when is_atom(Suite), end, ok = file:write_file(filename:join([IgnDir, "ignore_core_files"]), <<>>), %% cores are dumped in /cores on MacOS X - CoresDir = case {?t:os_type(), filelib:is_dir("/cores")} of + CoresDir = case {os:type(), filelib:is_dir("/cores")} of {{unix,darwin}, true} -> filelib:fold_files("/cores", "^core.*$", |