diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-04-07 19:25:47 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-04-08 14:53:37 +0200 |
commit | a9dfa8abdec770880d61cc694b52ce2efca11fd2 (patch) | |
tree | b355f65e020d88704c9ff8c3d632ddf527065a6e /erts/emulator/test/ignore_cores.erl | |
parent | 27217260c7ac21d4e81d7758a43b27ff8ed7cdf0 (diff) | |
download | otp-a9dfa8abdec770880d61cc694b52ce2efca11fd2.tar.gz otp-a9dfa8abdec770880d61cc694b52ce2efca11fd2.tar.bz2 otp-a9dfa8abdec770880d61cc694b52ce2efca11fd2.zip |
Replace test_server:os_type/0 with os:type/0
Diffstat (limited to 'erts/emulator/test/ignore_cores.erl')
-rw-r--r-- | erts/emulator/test/ignore_cores.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/test/ignore_cores.erl b/erts/emulator/test/ignore_cores.erl index 7373303a39..da6f6850c6 100644 --- a/erts/emulator/test/ignore_cores.erl +++ b/erts/emulator/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 {test_server:os_type(), filelib:is_dir("/cores")} of + CoresDir = case {os:type(), filelib:is_dir("/cores")} of {{unix,darwin}, true} -> filelib:fold_files("/cores", "^core.*$", |