diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-04-07 15:54:06 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-04-07 16:02:12 +0200 |
commit | fba6f786f26aac535fe2c9f3c10472efe841cb09 (patch) | |
tree | 5fc8657001ed6d2cacc7320945b3e2084e4fedaa /lib/tools/test/ignore_cores.erl | |
parent | a5fd45224765c2e06dd5bb3b2e0548bc747f042a (diff) | |
download | otp-fba6f786f26aac535fe2c9f3c10472efe841cb09.tar.gz otp-fba6f786f26aac535fe2c9f3c10472efe841cb09.tar.bz2 otp-fba6f786f26aac535fe2c9f3c10472efe841cb09.zip |
Replace ?t with test_server
The macro ?t is deprecated. Replace its use with 'test_server'.
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.*$", |