aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/test/crypto_SUITE.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-07-05 16:48:11 +0200
committerHans Nilsson <[email protected]>2017-07-07 11:45:02 +0200
commitf66e2fc4a37c23f147173cf3229bd24e335306e8 (patch)
tree528ed51ea39d30158986cf600741c1f5b1df2ae4 /lib/crypto/test/crypto_SUITE.erl
parentb6afef4b4d1bc5705ba1c838e3f546c454de47c8 (diff)
downloadotp-f66e2fc4a37c23f147173cf3229bd24e335306e8.tar.gz
otp-f66e2fc4a37c23f147173cf3229bd24e335306e8.tar.bz2
otp-f66e2fc4a37c23f147173cf3229bd24e335306e8.zip
crypto: test suites report openssl version, supports etc
Diffstat (limited to 'lib/crypto/test/crypto_SUITE.erl')
-rw-r--r--lib/crypto/test/crypto_SUITE.erl6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/crypto/test/crypto_SUITE.erl b/lib/crypto/test/crypto_SUITE.erl
index 164f43dcb0..dbfe295900 100644
--- a/lib/crypto/test/crypto_SUITE.erl
+++ b/lib/crypto/test/crypto_SUITE.erl
@@ -177,6 +177,12 @@ init_per_suite(Config) ->
try crypto:start() of
ok ->
+ catch ct:comment("~s",[element(3,hd(crypto:info_lib()))]),
+ catch ct:log("crypto:info_lib() -> ~p~n"
+ "crypto:supports() -> ~p~n"
+ "crypto:version() -> ~p~n"
+ ,[crypto:info_lib(), crypto:supports(), crypto:version()]),
+
try crypto:strong_rand_bytes(1) of
_ ->
Config