aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2011-09-22 14:28:30 +0200
committerBjörn-Egil Dahlberg <[email protected]>2011-09-22 14:28:30 +0200
commit276afa6f6e2bf7b70c5f0e2f01d6d5eb97443dd3 (patch)
treedd5b5911adddfdee7d54e3fe590494fbfeed1d2e /lib
parent8c1b51850b78fdb70639c34eca983d83f4827240 (diff)
downloadotp-276afa6f6e2bf7b70c5f0e2f01d6d5eb97443dd3.tar.gz
otp-276afa6f6e2bf7b70c5f0e2f01d6d5eb97443dd3.tar.bz2
otp-276afa6f6e2bf7b70c5f0e2f01d6d5eb97443dd3.zip
Change static link test of ssl to dynamic
Only used for commercial builds
Diffstat (limited to 'lib')
-rw-r--r--lib/crypto/test/crypto_SUITE.erl11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/crypto/test/crypto_SUITE.erl b/lib/crypto/test/crypto_SUITE.erl
index 2fa058c852..26d10d892a 100644
--- a/lib/crypto/test/crypto_SUITE.erl
+++ b/lib/crypto/test/crypto_SUITE.erl
@@ -138,14 +138,15 @@ link_test_2(Drv) ->
Libs = os:cmd(Cmd),
io:format("~p\n", [Libs]),
case string:str(Libs, "libcrypto") of
- 0 -> ok;
- _ ->
+ 0 ->
case ?t:is_commercial() of
true ->
- ?t:fail({libcrypto,not_statically_linked});
+ ?t:fail({libcrypto,statically_linked});
false ->
- {comment,"Not statically linked (OK for open-source platform)"}
- end
+ {comment,"Statically linked (OK for open-source platform)"}
+ end;
+ _ ->
+ ok
end
end.