aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/fun_r13_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-03-09 18:58:47 +0100
committerBjörn-Egil Dahlberg <[email protected]>2016-03-11 15:43:11 +0100
commit2b73a44c5b720a348fe8001cf024065c14e87651 (patch)
treec5b75aeb98ab602915795bc3b85795b8cc189930 /erts/emulator/test/fun_r13_SUITE.erl
parent5611e47606d8d691331f2eb4b7ed87bdd8ba9270 (diff)
downloadotp-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/fun_r13_SUITE.erl')
-rw-r--r--erts/emulator/test/fun_r13_SUITE.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/erts/emulator/test/fun_r13_SUITE.erl b/erts/emulator/test/fun_r13_SUITE.erl
index 3ee7b90686..c8146de46a 100644
--- a/erts/emulator/test/fun_r13_SUITE.erl
+++ b/erts/emulator/test/fun_r13_SUITE.erl
@@ -34,7 +34,7 @@ all() ->
[dist_old_release].
dist_old_release(Config) when is_list(Config) ->
- case ?t:is_release_available("r12b") of
+ case test_server:is_release_available("r12b") of
true -> do_dist_old(Config);
false -> {skip,"No R12B found"}
end.
@@ -42,7 +42,7 @@ dist_old_release(Config) when is_list(Config) ->
do_dist_old(Config) when is_list(Config) ->
?line Pa = filename:dirname(code:which(?MODULE)),
Name = fun_dist_r12,
- ?line {ok,Node} = ?t:start_node(Name, peer,
+ ?line {ok,Node} = test_server:start_node(Name, peer,
[{args,"-pa "++Pa},
{erl,[{release,"r12b"}]}]),
@@ -67,6 +67,7 @@ do_dist_old(Config) when is_list(Config) ->
Other ->
?line ct:fail({bad_message,Other})
end,
+ true = test_server:stop_node(Node),
ok.
cons(H, T) ->