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/emem_SUITE.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/emem_SUITE.erl')
-rw-r--r-- | lib/tools/test/emem_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tools/test/emem_SUITE.erl b/lib/tools/test/emem_SUITE.erl index c3f8f1fa04..7636c31d4a 100644 --- a/lib/tools/test/emem_SUITE.erl +++ b/lib/tools/test/emem_SUITE.erl @@ -458,7 +458,7 @@ send_loop(Socket, File) -> end. check_emem(Dir, Type) when is_atom(Type) -> - ExeSuffix = case ?t:os_type() of + ExeSuffix = case os:type() of {win32, _} -> ".exe"; _ -> "" end, @@ -677,4 +677,4 @@ mk_nodename(Config) -> start_node(Name, Args) -> Pa = filename:dirname(code:which(?MODULE)), - ?t:start_node(Name, peer, [{args, Args ++ " -pa " ++ Pa}]). + test_server:start_node(Name, peer, [{args, Args ++ " -pa " ++ Pa}]). |