diff options
author | Björn Gustavsson <[email protected]> | 2016-03-07 09:14:45 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-03-10 14:31:23 +0100 |
commit | 73a611a3e4f8ca4ec62694d3fb70d30ee8558f19 (patch) | |
tree | b0d9a9cdd9521ca2bb84706cc06e9148743c8d97 /lib/kernel/test/erl_distribution_SUITE.erl | |
parent | 59438cf3176f6c2d835f5aba29179f6e7ff1b0da (diff) | |
download | otp-73a611a3e4f8ca4ec62694d3fb70d30ee8558f19.tar.gz otp-73a611a3e4f8ca4ec62694d3fb70d30ee8558f19.tar.bz2 otp-73a611a3e4f8ca4ec62694d3fb70d30ee8558f19.zip |
Eliminate use of the ?t macro
Diffstat (limited to 'lib/kernel/test/erl_distribution_SUITE.erl')
-rw-r--r-- | lib/kernel/test/erl_distribution_SUITE.erl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/kernel/test/erl_distribution_SUITE.erl b/lib/kernel/test/erl_distribution_SUITE.erl index ebbcdcbaf2..0b09118161 100644 --- a/lib/kernel/test/erl_distribution_SUITE.erl +++ b/lib/kernel/test/erl_distribution_SUITE.erl @@ -1168,20 +1168,20 @@ sleep(T) -> receive after T * 1000 -> ok end. start_node(Name, Param, this) -> NewParam = Param ++ " -pa " ++ filename:dirname(code:which(?MODULE)), - ?t:start_node(Name, peer, [{args, NewParam}, {erl, [this]}]); + test_server:start_node(Name, peer, [{args, NewParam}, {erl, [this]}]); start_node(Name, Param, "this") -> NewParam = Param ++ " -pa " ++ filename:dirname(code:which(?MODULE)), - ?t:start_node(Name, peer, [{args, NewParam}, {erl, [this]}]); + test_server:start_node(Name, peer, [{args, NewParam}, {erl, [this]}]); start_node(Name, Param, Rel) when is_atom(Rel) -> NewParam = Param ++ " -pa " ++ filename:dirname(code:which(?MODULE)), - ?t:start_node(Name, peer, [{args, NewParam}, {erl, [{release, atom_to_list(Rel)}]}]); + test_server:start_node(Name, peer, [{args, NewParam}, {erl, [{release, atom_to_list(Rel)}]}]); start_node(Name, Param, Rel) when is_list(Rel) -> NewParam = Param ++ " -pa " ++ filename:dirname(code:which(?MODULE)), - ?t:start_node(Name, peer, [{args, NewParam}, {erl, [{release, Rel}]}]). + test_server:start_node(Name, peer, [{args, NewParam}, {erl, [{release, Rel}]}]). start_node(Name, Param) -> NewParam = Param ++ " -pa " ++ filename:dirname(code:which(?MODULE)), - ?t:start_node(Name, slave, [{args, NewParam}]). + test_server:start_node(Name, slave, [{args, NewParam}]). % M = list_to_atom(from($@, atom_to_list(node()))), % slave:start_link(M, Name, Param). @@ -1189,7 +1189,7 @@ start_node(Name) -> start_node(Name, ""). stop_node(Node) -> - ?t:stop_node(Node). + test_server:stop_node(Node). % erlang:monitor_node(Node, true), % rpc:cast(Node, init, stop, []), % receive |