diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-04-07 16:30:31 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-04-07 16:30:31 +0200 |
commit | 2f1ce217b9eaa0ef4be778193e232ee5faf00a15 (patch) | |
tree | 0fd88de2faf6f7750d07f3b6b8b79ecb85a556a1 /erts/test/ignore_cores.erl | |
parent | 51f4cb8a43162df3aa2caade4535db31fb979b76 (diff) | |
download | otp-2f1ce217b9eaa0ef4be778193e232ee5faf00a15.tar.gz otp-2f1ce217b9eaa0ef4be778193e232ee5faf00a15.tar.bz2 otp-2f1ce217b9eaa0ef4be778193e232ee5faf00a15.zip |
Replace test_server:os_type/0 with os:type/0
Diffstat (limited to 'erts/test/ignore_cores.erl')
-rw-r--r-- | erts/test/ignore_cores.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/test/ignore_cores.erl b/erts/test/ignore_cores.erl index 4af5efe834..da6f6850c6 100644 --- a/erts/test/ignore_cores.erl +++ b/erts/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.*$", |