Skip to content

Commit

Permalink
test/pipe.py: workaround a netbsg bug
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Apr 19, 2023
1 parent 4a8f13c commit f3c183e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/pipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@

p = select.poll()
p.register(sys.stdout, select.POLLHUP)
p.poll(-1)
# http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=57369
while True:
l = p.poll(1)
if l:
break

0 comments on commit f3c183e

Please sign in to comment.