aboutsummaryrefslogtreecommitdiffstats
path: root/erts/test/nt_SUITE.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2017-08-22 14:43:54 +0200
committerSiri Hansen <[email protected]>2017-09-15 17:07:51 +0200
commita3624ab24535458b13abb7e314ed7dfbe3da09ba (patch)
tree703f36f9d93a2e4037c10392deb30c477bd6d42c /erts/test/nt_SUITE.erl
parent0f397e8c97a556169bac7cc95b6bb98ccd16bf66 (diff)
downloadotp-a3624ab24535458b13abb7e314ed7dfbe3da09ba.tar.gz
otp-a3624ab24535458b13abb7e314ed7dfbe3da09ba.tar.bz2
otp-a3624ab24535458b13abb7e314ed7dfbe3da09ba.zip
system (test): Do not use deprecated functions in string(3)
Diffstat (limited to 'erts/test/nt_SUITE.erl')
-rw-r--r--erts/test/nt_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/test/nt_SUITE.erl b/erts/test/nt_SUITE.erl
index 624e5484ba..3081b58835 100644
--- a/erts/test/nt_SUITE.erl
+++ b/erts/test/nt_SUITE.erl
@@ -117,7 +117,7 @@ wait_for_node(Name) ->
do_wait_for_it(FullName,30).
make_full_name(Name) ->
- [_,Suffix] = string:tokens(atom_to_list(node()),"@"),
+ [_,Suffix] = string:lexemes(atom_to_list(node()),"@"),
list_to_atom(Name ++ "@" ++ Suffix).
@@ -171,7 +171,7 @@ service_env(Config) when is_list(Config) ->
["ERLSRV_SERVICE_NAME"]),
"erlsrv.exe" = filename:basename(
hd(
- string:tokens(
+ string:lexemes(
rpc:call(make_full_name(Name),
os,
getenv,