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/old_mod.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/old_mod.erl')
-rw-r--r-- | erts/emulator/test/old_mod.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/old_mod.erl b/erts/emulator/test/old_mod.erl index e714a75954..03f1ffd67b 100644 --- a/erts/emulator/test/old_mod.erl +++ b/erts/emulator/test/old_mod.erl @@ -37,12 +37,12 @@ sort_on_old_node(List) when is_list(List) -> ++ integer_to_list(X) ++ integer_to_list(Y) ++ integer_to_list(Z)), - ?line {ok, Node} = ?t:start_node(NodeName, + ?line {ok, Node} = test_server:start_node(NodeName, peer, [{args, " -pa " ++ Pa}, {erl, [{release, OldVersion++"b_patched"}]}]), ?line Ref = make_ref(), ?line spawn_link(Node, ?MODULE, sorter, [self(), Ref, List]), ?line SortedPids = receive {Ref, SP} -> SP end, - ?line true = ?t:stop_node(Node), + ?line true = test_server:stop_node(Node), ?line SortedPids. |