aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/test/ssl_upgrade_SUITE.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2015-06-22 16:47:42 +0200
committerIngela Anderton Andin <[email protected]>2015-06-22 16:47:42 +0200
commit566cbee917638f596c5d46bd0aff331a66f5c8d2 (patch)
tree31f918d230fd468e7935d1f2481510616805f631 /lib/ssl/test/ssl_upgrade_SUITE.erl
parent43787faa5933483128f06d775bc41fef36df4567 (diff)
downloadotp-566cbee917638f596c5d46bd0aff331a66f5c8d2.tar.gz
otp-566cbee917638f596c5d46bd0aff331a66f5c8d2.tar.bz2
otp-566cbee917638f596c5d46bd0aff331a66f5c8d2.zip
ssl: Make init functions fail if make_certs:all fails
Diffstat (limited to 'lib/ssl/test/ssl_upgrade_SUITE.erl')
-rw-r--r--lib/ssl/test/ssl_upgrade_SUITE.erl7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/ssl/test/ssl_upgrade_SUITE.erl b/lib/ssl/test/ssl_upgrade_SUITE.erl
index b09be4b278..ee91cf9cda 100644
--- a/lib/ssl/test/ssl_upgrade_SUITE.erl
+++ b/lib/ssl/test/ssl_upgrade_SUITE.erl
@@ -44,10 +44,8 @@ init_per_suite(Config0) ->
{skip, Reason} ->
{skip, Reason};
Config ->
- Result =
- (catch make_certs:all(?config(data_dir, Config),
- ?config(priv_dir, Config))),
- ct:log("Make certs ~p~n", [Result]),
+ {ok, _} = make_certs:all(?config(data_dir, Config),
+ ?config(priv_dir, Config)),
ssl_test_lib:cert_options(Config)
end;
{ok, false} ->
@@ -164,4 +162,3 @@ is_soft([{restart_application, ssl}]) ->
false;
is_soft(_) ->
true.
-