aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2011-09-22 14:28:30 +0200
committerSverker Eriksson <[email protected]>2011-09-23 19:58:45 +0200
commitb8a50348bf4c0ceb8c7839bb243871fd96f0ea7c (patch)
tree9d3f08e435606a4fd0051e8236a5a90a6eae7be2
parentec17d32dffaed75da4e6f1bb6d4e14ff40d59a7b (diff)
downloadotp-b8a50348bf4c0ceb8c7839bb243871fd96f0ea7c.tar.gz
otp-b8a50348bf4c0ceb8c7839bb243871fd96f0ea7c.tar.bz2
otp-b8a50348bf4c0ceb8c7839bb243871fd96f0ea7c.zip
Change static link test of ssl to dynamic
Only used for commercial builds
-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 283aadb6ea..10b1737a91 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.