diff options
author | Björn Gustavsson <[email protected]> | 2016-03-02 12:12:58 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-03-09 13:23:02 +0100 |
commit | 25e64aaf1df1ea5c712075a9236367de4cc81359 (patch) | |
tree | 8218e54b9a4ee28e990e9b26c3e729d910650809 /lib/stdlib/test/fixtable_SUITE.erl | |
parent | 33b414783b37dc0c242c729fa3fa843cd648e3e0 (diff) | |
download | otp-25e64aaf1df1ea5c712075a9236367de4cc81359.tar.gz otp-25e64aaf1df1ea5c712075a9236367de4cc81359.tar.bz2 otp-25e64aaf1df1ea5c712075a9236367de4cc81359.zip |
Eliminate use of ?config() macro
Diffstat (limited to 'lib/stdlib/test/fixtable_SUITE.erl')
-rw-r--r-- | lib/stdlib/test/fixtable_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/test/fixtable_SUITE.erl b/lib/stdlib/test/fixtable_SUITE.erl index d681349fcd..de100a11d6 100644 --- a/lib/stdlib/test/fixtable_SUITE.erl +++ b/lib/stdlib/test/fixtable_SUITE.erl @@ -70,7 +70,7 @@ end_per_group(_GroupName, Config) -> -define(HELPER_NODE, (atom_to_list(?MODULE) ++ "_helper1")). init_per_testcase(_Func, Config) -> - PrivDir = ?config(priv_dir,Config), + PrivDir = proplists:get_value(priv_dir,Config), file:make_dir(PrivDir), Config. @@ -370,7 +370,7 @@ multiple_processes(Tab, Mod) -> dets_filename(Base, Config) when is_atom(Base) -> dets_filename(atom_to_list(Base) ++ ".dat", Config); dets_filename(Basename, Config) -> - PrivDir = ?config(priv_dir,Config), + PrivDir = proplists:get_value(priv_dir,Config), filename:join(PrivDir, Basename). command_loop() -> |