aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmerl/test/xmerl_sax_std_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-05-20 19:43:10 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-05-20 19:43:10 +0200
commite1cef0d4f0f151476f99eb18e7a7263e8e9cb2f5 (patch)
tree958d51da3b0b71be04eebf4f19c459a4d92dbf3a /lib/xmerl/test/xmerl_sax_std_SUITE.erl
parent3b5bfab5235cb045c4c24d076006ded3e5d1a423 (diff)
downloadotp-e1cef0d4f0f151476f99eb18e7a7263e8e9cb2f5.tar.gz
otp-e1cef0d4f0f151476f99eb18e7a7263e8e9cb2f5.tar.bz2
otp-e1cef0d4f0f151476f99eb18e7a7263e8e9cb2f5.zip
Eliminate use of ?config() macro
Diffstat (limited to 'lib/xmerl/test/xmerl_sax_std_SUITE.erl')
-rw-r--r--lib/xmerl/test/xmerl_sax_std_SUITE.erl7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/xmerl/test/xmerl_sax_std_SUITE.erl b/lib/xmerl/test/xmerl_sax_std_SUITE.erl
index f2f88f62a6..28a287c080 100644
--- a/lib/xmerl/test/xmerl_sax_std_SUITE.erl
+++ b/lib/xmerl/test/xmerl_sax_std_SUITE.erl
@@ -72,8 +72,8 @@ end_per_suite(Config) ->
%% initialization before each testcase
init_per_testcase(_TestCase,Config) ->
io:format("Config:\n~p\n",[Config]),
- {ok, _} = file:read_file_info(filename:join([?config(priv_dir,Config)])),
- code:add_patha(?config(priv_dir,Config)),
+ {ok, _} = file:read_file_info(filename:join([privdir(Config)])),
+ code:add_patha(privdir(Config)),
Config.
%% clean up after each testcase
@@ -25621,6 +25621,9 @@ chmod(F) ->
ok
end.
+privdir(Config) ->
+ proplists:get_value(priv_dir, Config).
+
%%----------------------------------------------------------------------
%% check_result
check_result({fatal_error,_,_,_,_}, "error") ->