Skip to content

Commit

Permalink
Back out test for #26687
Browse files Browse the repository at this point in the history
Relies on finalizers running at exit.
  • Loading branch information
kpamnany committed Oct 11, 2023
1 parent c3f5c3a commit 5dde085
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions test/spawn.jl
Original file line number Diff line number Diff line change
Expand Up @@ -665,13 +665,6 @@ let s = " \$abc "
@test s[Base.shell_parse(s)[2]] == "abc"
end

# Logging macros should not output to finalized streams (#26687)
let
cmd = `$exename -e 'finalizer(x->@info(x), "Hello")'`
output = readchomp(pipeline(cmd, stderr=catcmd))
@test occursin("Info: Hello", output)
end

# Sys.which() testing
psep = if Sys.iswindows() ";" else ":" end
withenv("PATH" => "$(Sys.BINDIR)$(psep)$(ENV["PATH"])") do
Expand Down

0 comments on commit 5dde085

Please sign in to comment.