summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_eintr.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove more unused imports in tests.Serhiy Storchaka2016-04-241-1/+0
|
* Issue #23277: Remove unused sys and os importsBerker Peksag2016-04-241-1/+0
| | | | Patch by Jon Dufresne.
* Issue #25277: Set a timeout of 10 minutes in test_eintr using faulthandler toVictor Stinner2015-10-011-1/+2
| | | | | | | try to debug a hang on the FreeBSD 9 buildbot. Run also eintr_tester.py with python "-u" command line option to try to get the full output on hang/crash.
* Issue #25122: Remove verbose mode of test_eintrVictor Stinner2015-09-281-8/+1
| | | | | | | "./python -m test -W test_eintr" wrote Lib/test/eintrdata/eintr_tester.py output to stdout which was not expected. Since test_eintr doesn't hang anymore, remove the verbose mode instead.
* Issue #25122: Fix test_eintr.test_open() on FreeBSDVictor Stinner2015-09-181-2/+1
| | | | | | | | | | | | | | | | | 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.
* Issue #25122: test_eintr: don't redirect stdout to stderrVictor Stinner2015-09-151-1/+1
| | | | | sys.stderr is sometimes a StringIO. The redirection was just a hack to see eintr_tester.py output in red in the buildbot output.
* Issue #25122: try to debug test_eintr hang on FreeBSDVictor Stinner2015-09-151-1/+11
| | | | | | | * Add verbose mode to test_eintr * Always enable verbose mode in test_eintr * Use faulthandler.dump_traceback_later() with a timeout of 15 minutes in eintr_tester.py
* Issue #9517: Move script_helper to the support package.Berker Peksag2015-05-061-1/+2
| | | | Patch by Christie Wilson.
* Issue #23285: PEP 475 -- Retry system calls failing with EINTR.Charles-François Natali2015-02-071-0/+20