aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/test/ct_netconfc_SUITE.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2017-05-09 15:33:57 +0200
committerSiri Hansen <[email protected]>2017-05-09 15:33:57 +0200
commit55086871a95f7ac518fc7e5a8e626f4f9b84e096 (patch)
tree48fc2faadf1a1db48c2b5d67ff4be3c84c40dfdd /lib/common_test/test/ct_netconfc_SUITE.erl
parentc58f2e9484e34fee022dc71df0dce8f05034225f (diff)
parentfe521f4679ed0caa068f3825869796001b29fc40 (diff)
downloadotp-55086871a95f7ac518fc7e5a8e626f4f9b84e096.tar.gz
otp-55086871a95f7ac518fc7e5a8e626f4f9b84e096.tar.bz2
otp-55086871a95f7ac518fc7e5a8e626f4f9b84e096.zip
Merge branch 'siri/ct_netconfc/multiple-channels/OTP-14284'
* siri/ct_netconfc/multiple-channels/OTP-14284: [ct_netconfc] Update documentation [ct_netconfc] Start multiple sessions per SSH connection
Diffstat (limited to 'lib/common_test/test/ct_netconfc_SUITE.erl')
-rw-r--r--lib/common_test/test/ct_netconfc_SUITE.erl5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/common_test/test/ct_netconfc_SUITE.erl b/lib/common_test/test/ct_netconfc_SUITE.erl
index 8932f930d1..05edb45fe8 100644
--- a/lib/common_test/test/ct_netconfc_SUITE.erl
+++ b/lib/common_test/test/ct_netconfc_SUITE.erl
@@ -52,9 +52,8 @@ init_per_suite(Config) ->
end.
check_crypto_and_ssh() ->
- (catch code:load_file(crypto)),
- case code:is_loaded(crypto) of
- {file,_} ->
+ case code:ensure_loaded(crypto) of
+ {module,_} ->
case catch ssh:start() of
Ok when Ok==ok; Ok=={error,{already_started,ssh}} ->
ct:log("ssh started",[]),