Skip to content

Commit

Permalink
Fix Profiler signal listener test (#51272)
Browse files Browse the repository at this point in the history
The `close(t)` seems to be a typo.
  • Loading branch information
vchuravy authored Sep 11, 2023
1 parent 1097481 commit b9203ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/Profile/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ if Sys.isbsd() || Sys.islinux()
script = """
print(stderr, "started\n")
eof(stdin)
close(t)
"""
iob = Base.BufferStream()
notify_exit = Base.PipeEndpoint()
Expand Down Expand Up @@ -232,6 +231,7 @@ if Sys.isbsd() || Sys.islinux()
close(notify_exit) # notify test finished
s = read(iob, String) # consume test output
wait(p) # wait for test completion
@test success(p)
close(t)
catch
close(notify_exit)
Expand Down

0 comments on commit b9203ce

Please sign in to comment.