openssl: fix tests on freebsd native

This commit is contained in:
Audrey Dutcher
2026-05-22 12:38:45 -04:00
committed by Artemis Tosini
parent 7e53ba9cdb
commit 82c51c6fc8
@@ -103,6 +103,13 @@ let
''
+ lib.optionalString stdenv.hostPlatform.isCygwin ''
rm test/recipes/01-test_symbol_presence.t
''
# this test has inconsistent behavior in the freebsd sandbox
# (binds to only ipv6 and connects on only ipv4)
+ lib.optionalString stdenv.hostPlatform.isFreeBSD ''
substituteInPlace test/recipes/82-test_ocsp_cert_chain.t \
--replace-fail '"-accept",' '"-4", "-accept",' \
--replace-fail '"-connect",' '"-4", "-connect",'
'';
outputs = [