aboutsummaryrefslogtreecommitdiffstats
path: root/erts/test/erlexec_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-04-06 15:46:49 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-04-06 15:46:49 +0200
commitf1bd16d883b6236dff83d7784ebd858ef29e2c0c (patch)
tree1aa76ed047e055485483dc2e3ce3377ec644130d /erts/test/erlexec_SUITE.erl
parent120a586a5d7d13e0d022dd773537856d30482e1e (diff)
downloadotp-f1bd16d883b6236dff83d7784ebd858ef29e2c0c.tar.gz
otp-f1bd16d883b6236dff83d7784ebd858ef29e2c0c.tar.bz2
otp-f1bd16d883b6236dff83d7784ebd858ef29e2c0c.zip
Eliminate use of ?config() macro
Diffstat (limited to 'erts/test/erlexec_SUITE.erl')
-rw-r--r--erts/test/erlexec_SUITE.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/erts/test/erlexec_SUITE.erl b/erts/test/erlexec_SUITE.erl
index d90daf78c3..969270e21b 100644
--- a/erts/test/erlexec_SUITE.erl
+++ b/erts/test/erlexec_SUITE.erl
@@ -40,7 +40,7 @@ init_per_testcase(Case, Config) ->
[{testcase, Case},{erl_flags_env, SavedEnv}|Config].
end_per_testcase(_Case, Config) ->
- SavedEnv = ?config(erl_flags_env, Config),
+ SavedEnv = proplists:get_value(erl_flags_env, Config),
restore_env(SavedEnv),
cleanup_nodes(),
ok.
@@ -279,7 +279,7 @@ otp_7461(Config) when is_list(Config) ->
otp_7461_do(Config) ->
io:format("alive=~p node=~p\n",[is_alive(), node()]),
- TestProg = filename:join([?config(data_dir, Config), "erlexec_tests"]),
+ TestProg = filename:join([proplists:get_value(data_dir, Config), "erlexec_tests"]),
{ok, [[ErlProg]]} = init:get_argument(progname),
Cmd = TestProg ++ " " ++ ErlProg ++
" -detached -sname " ++ get_nodename(otp_7461) ++
@@ -383,8 +383,8 @@ restore_env({erl_flags, AFlgs, Flgs, RFlgs, ZFlgs}) ->
ok.
privfile(Name, Config) ->
- filename:join([?config(priv_dir, Config),
- atom_to_list(?config(testcase, Config)) ++ "." ++ Name]).
+ filename:join([proplists:get_value(priv_dir, Config),
+ atom_to_list(proplists:get_value(testcase, Config)) ++ "." ++ Name]).
write_file(FileName, Frmt) ->
write_file(FileName, Frmt, []).