aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public_key/test/pkits_SUITE.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2011-03-07 10:02:06 +0100
committerIngela Anderton Andin <[email protected]>2011-03-07 10:02:06 +0100
commit7d45e56bbe2d084756fceb4e9b8065f74d1a503b (patch)
treec58e46731cd93ac29d2fb94d0bd7f3d0778ac7eb /lib/public_key/test/pkits_SUITE.erl
parent84884b96de521491d34a19b1b3497d3d76549126 (diff)
downloadotp-7d45e56bbe2d084756fceb4e9b8065f74d1a503b.tar.gz
otp-7d45e56bbe2d084756fceb4e9b8065f74d1a503b.tar.bz2
otp-7d45e56bbe2d084756fceb4e9b8065f74d1a503b.zip
Workaround for application:start(crypto) inconsistency
Diffstat (limited to 'lib/public_key/test/pkits_SUITE.erl')
-rw-r--r--lib/public_key/test/pkits_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/public_key/test/pkits_SUITE.erl b/lib/public_key/test/pkits_SUITE.erl
index fd976cb2f3..660af4e8ab 100644
--- a/lib/public_key/test/pkits_SUITE.erl
+++ b/lib/public_key/test/pkits_SUITE.erl
@@ -585,10 +585,10 @@ end_per_testcase(_Func, Config) ->
Config.
init_per_suite(Config) ->
- case application:start(crypto) of
+ try crypto:start() of
ok ->
- Config;
- _ ->
+ Config
+ catch _:_ ->
{skip, "Crypto did not start"}
end.