]> granicus.if.org Git - python/commit
Issue #25122: Fix test_eintr.test_open() on FreeBSD
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 18 Sep 2015 09:23:42 +0000 (11:23 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 18 Sep 2015 09:23:42 +0000 (11:23 +0200)
commitbaab5f73417dabd5e5dc6fe9e0dc3b917f812fb2
treee668724f6b8f95dccca53535c175aff3a56d8941
parent3e30fd7c5978c642b5a8dc9430a41b321cfd6c20
Issue #25122: Fix test_eintr.test_open() on FreeBSD

Skip test_open() and test_os_open(): both tests uses a FIFO and signals, but
there is a bug in the FreeBSD kernel which blocks the test. Skip the tests
until the bug is fixed in FreeBSD kernel.

Remove also debug traces from test_eintr:

* stop using faulthandler to have a timeout
* remove print()

Write also open and close on two lines in test_open() and test_os_open()
tests. If these tests block again, we can know if the test is stuck at open or
close.

test_eintr: don't always run the test in debug mode.
Lib/test/eintrdata/eintr_tester.py
Lib/test/test_eintr.py