aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/testSSLspecs.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-03-18 12:34:37 +0100
committerBjörn Gustavsson <[email protected]>2016-03-18 12:34:37 +0100
commite3b85cb860927091d43e3c4d83c9dd9eb2ad51f8 (patch)
tree1828706b34ae646b7eac9d7a1e49073dbc707d3f /lib/asn1/test/testSSLspecs.erl
parent7e13621fccd53a368b1717495382ae86239ed65b (diff)
downloadotp-e3b85cb860927091d43e3c4d83c9dd9eb2ad51f8.tar.gz
otp-e3b85cb860927091d43e3c4d83c9dd9eb2ad51f8.tar.bz2
otp-e3b85cb860927091d43e3c4d83c9dd9eb2ad51f8.zip
Replace ?config() macro with proplists:get_value()
Diffstat (limited to 'lib/asn1/test/testSSLspecs.erl')
-rw-r--r--lib/asn1/test/testSSLspecs.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/asn1/test/testSSLspecs.erl b/lib/asn1/test/testSSLspecs.erl
index 035912d767..5d5f749d37 100644
--- a/lib/asn1/test/testSSLspecs.erl
+++ b/lib/asn1/test/testSSLspecs.erl
@@ -26,8 +26,8 @@
-include_lib("common_test/include/ct.hrl").
compile(Config, Options) ->
- DataDir = ?config(data_dir, Config),
- CaseDir = ?config(case_dir, Config),
+ DataDir = proplists:get_value(data_dir, Config),
+ CaseDir = proplists:get_value(case_dir, Config),
NewOptions = [{i, DataDir}, {i, CaseDir}|Options],
asn1_test_lib:compile_all(["SSL-PKIX", "PKIXAttributeCertificate"],
@@ -44,8 +44,8 @@ compile(Config, Options) ->
Config, NewOptions).
compile_combined(Config, ber=Rule) ->
- DataDir = ?config(data_dir, Config),
- CaseDir = ?config(case_dir, Config),
+ DataDir = proplists:get_value(data_dir, Config),
+ CaseDir = proplists:get_value(case_dir, Config),
Options = [{i, CaseDir}, {i, DataDir}, Rule,
der, compact_bit_string, asn1config],
ok = remove_db_files_combined(CaseDir),