diff options
author | Alexander Scheel <alexander.scheel@keyfactor.com> | 2024-02-12 12:37:42 -0500 |
---|---|---|
committer | Alexander Scheel <alexander.scheel@keyfactor.com> | 2024-02-12 12:38:16 -0500 |
commit | 5e0509e00ee714824f0b859a8be2b6da469a3d0a (patch) | |
tree | 1b88629b12d5ac8fbeb5e1c44a8d4d9131150b37 /crypto/test/data/openssl | |
parent | Verifying read of MS PKCS#7 SignedData (diff) | |
download | BouncyCastle.NET-ed25519-5e0509e00ee714824f0b859a8be2b6da469a3d0a.tar.xz |
Correctly disable tests on Linux
The SP800-38G tests fail to execute on Linux, due to the inability to set environment variables documented in a dotnet runtime issue. This uses RuntimeInformation to conditionally exclude the test from being run on Linux. Switch from SupportedOSPlatform to RuntimeInformation.IsOSPlatform for TestRsaInterop Guard this by a NET 6.0 requirement so that it doesn't affect old Windows-only .NET framework versions. Note: this only appears to fail on Linux when building from the CLI: > dotnet test -v:normal -l \"console;verbosity=detailed\" Building from an IDE (e.g., Rider) does not seem to be affected. Signed-off-by: Alexander Scheel <alexander.scheel@keyfactor.com>
Diffstat (limited to 'crypto/test/data/openssl')
0 files changed, 0 insertions, 0 deletions