Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion stdlib/Sockets/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,12 @@ end
@test readuntil(P, 'w') == "llo"
Sys.iswindows() && wait(t)
@test eof(P)
@test !isopen(P) # eof test should have closed this by now
if Sys.isfreebsd()
# FIXME: eof test should have closed this by now, but it seems not to on FreeBSD 12
Comment thread
DilumAluthge marked this conversation as resolved.
Outdated
@test_broken !isopen(P)
else
@test !isopen(P) # eof test should have closed this by now
end

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this is equivalent to

@test !isopen(P) broken=Sys.isfreebsd()

close(P) # should be a no-op, just make sure
@test !isopen(P)
@test eof(P)
Expand Down