aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-04-06 17:09:45 +0200
committerSverker Eriksson <[email protected]>2016-04-06 17:09:45 +0200
commit574ddd9b6ae22bbb8df3a5094f013615b88ad7c6 (patch)
treef4545ec2713d83d9365c4ff7bdfe3490c6c5f6af /lib
parent57fcf2334c04352af3ce2c09a370fe9a04b073e9 (diff)
downloadotp-574ddd9b6ae22bbb8df3a5094f013615b88ad7c6.tar.gz
otp-574ddd9b6ae22bbb8df3a5094f013615b88ad7c6.tar.bz2
otp-574ddd9b6ae22bbb8df3a5094f013615b88ad7c6.zip
crypto: Skip link_test if no 'ldd' available
Diffstat (limited to 'lib')
-rw-r--r--lib/crypto/test/old_crypto_SUITE.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/crypto/test/old_crypto_SUITE.erl b/lib/crypto/test/old_crypto_SUITE.erl
index 37cce2ebd2..61cdd0ad7e 100644
--- a/lib/crypto/test/old_crypto_SUITE.erl
+++ b/lib/crypto/test/old_crypto_SUITE.erl
@@ -187,7 +187,9 @@ ldd_program() ->
case os:find_executable("otool") of
false -> none;
Otool -> Otool ++ " -L"
- end
+ end;
+ _ ->
+ none
end;
Ldd when is_list(Ldd) -> Ldd
end.