diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-03-09 18:58:47 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-03-11 15:43:11 +0100 |
commit | 2b73a44c5b720a348fe8001cf024065c14e87651 (patch) | |
tree | c5b75aeb98ab602915795bc3b85795b8cc189930 /erts/emulator/test/ignore_cores.erl | |
parent | 5611e47606d8d691331f2eb4b7ed87bdd8ba9270 (diff) | |
download | otp-2b73a44c5b720a348fe8001cf024065c14e87651.tar.gz otp-2b73a44c5b720a348fe8001cf024065c14e87651.tar.bz2 otp-2b73a44c5b720a348fe8001cf024065c14e87651.zip |
Replace ?t with test_server
The macro ?t is deprecated. Replace its use with 'test_server'.
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 4af5efe834..7373303a39 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 {?t:os_type(), filelib:is_dir("/cores")} of + CoresDir = case {test_server:os_type(), filelib:is_dir("/cores")} of {{unix,darwin}, true} -> filelib:fold_files("/cores", "^core.*$", |