From 82c51c6fc8adbcd6aa418f8e8eb2ce438081f83a Mon Sep 17 00:00:00 2001 From: Audrey Dutcher Date: Fri, 27 Feb 2026 10:31:13 -0700 Subject: [PATCH] openssl: fix tests on freebsd native --- pkgs/development/libraries/openssl/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/libraries/openssl/default.nix b/pkgs/development/libraries/openssl/default.nix index 2401b143436e..352500e7a78b 100644 --- a/pkgs/development/libraries/openssl/default.nix +++ b/pkgs/development/libraries/openssl/default.nix @@ -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 = [