diff options
author | Hans Nilsson <[email protected]> | 2016-05-25 13:07:20 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2016-06-01 11:49:12 +0200 |
commit | 69d3a7c1ef38a3730edd93c6805bc2d2bc9bf68e (patch) | |
tree | bb02934fa9e2ae654339fc72a979a35c1f9a161d /lib/ssh/test/ssh_upgrade_SUITE.erl | |
parent | 317079a89bdf69888e398cb7e5703bfda7bd2c74 (diff) | |
download | otp-69d3a7c1ef38a3730edd93c6805bc2d2bc9bf68e.tar.gz otp-69d3a7c1ef38a3730edd93c6805bc2d2bc9bf68e.tar.bz2 otp-69d3a7c1ef38a3730edd93c6805bc2d2bc9bf68e.zip |
ssh: replace ?config in tests
OTP-13565
Diffstat (limited to 'lib/ssh/test/ssh_upgrade_SUITE.erl')
-rw-r--r-- | lib/ssh/test/ssh_upgrade_SUITE.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ssh/test/ssh_upgrade_SUITE.erl b/lib/ssh/test/ssh_upgrade_SUITE.erl index 06bef2455e..9d9b2b78fb 100644 --- a/lib/ssh/test/ssh_upgrade_SUITE.erl +++ b/lib/ssh/test/ssh_upgrade_SUITE.erl @@ -59,7 +59,7 @@ init_per_suite(Config0) -> end_per_suite(Config) -> ct_release_test:cleanup(Config), ssh:stop(), - UserDir = ?config(priv_dir, Config), + UserDir = proplists:get_value(priv_dir, Config), ssh_test_lib:clean_rsa(UserDir). init_per_testcase(_TestCase, Config) -> @@ -138,8 +138,8 @@ test_soft(State0, FileName) -> setup_server_client(#state{config=Config} = State) -> - DataDir = ?config(data_dir, Config), - PrivDir = ?config(priv_dir, Config), + DataDir = proplists:get_value(data_dir, Config), + PrivDir = proplists:get_value(priv_dir, Config), FtpRootDir = filename:join(PrivDir, "ftp_root"), catch file:make_dir(FtpRootDir), |