Skip to content

Commit

Permalink
Don't add good ca roots tests to bad_ca_roots.jl
Browse files Browse the repository at this point in the history
Adding these make the last test in the file work when it shouldn't. That is the reason these tests are run in a separate process.
  • Loading branch information
visr committed Jan 1, 2025
1 parent ce84aac commit 8dbcb0f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions stdlib/LibGit2/test/bad_ca_roots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ begin # empty CA roots file
@test LibGit2.ensure_initialized() === nothing
@test LibGit2.ensure_initialized() === nothing
end

ENV["JULIA_SSL_CA_ROOTS_PATH"] = NetworkOptions.bundled_ca_roots()
@test LibGit2.ensure_initialized() === nothing

delete!(ENV, "JULIA_SSL_CA_ROOTS_PATH")
@test LibGit2.ensure_initialized() === nothing
end

if CAN_SET_CA_ROOTS_PATH
Expand Down

0 comments on commit 8dbcb0f

Please sign in to comment.