id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,branch,branch_author,launchpad_bug
6161,twisted.internet.test.test_sigchld way too aggressive in assuming no previous fd or SIGCHLD handler was installed,itamar,itamar,"`twisted.internet.test.test_sigchld.SetWakeupSIGCHLDTests.setUp` assumes no one has previously set a SIGCHLD handler or registered a wakeup fd. If someone has, that is considered an error. However, any random test that uses the reactor will cause this registration; AFAICT this never caused problems before due to a specific sort order of running tests.

On Ubuntu 12.10:

{{{
$ trial -z 1 twisted.test.test_udp twisted.internet.test.test_sigchld

...

[ERROR]
Traceback (most recent call last):
  File ""/home/itamarst/Devel/Twisted/trunk/twisted/internet/test/test_sigchld.py"", line 58, in setUp
    raise RuntimeError(""You used some signal APIs wrong!  Try again."")
exceptions.RuntimeError: You used some signal APIs wrong!  Try again.

twisted.internet.test.test_sigchld.SetWakeupSIGCHLDTests.test_uninstallHandler
}}}",defect,closed,normal,Python 3.3 Minimal,core,fixed,,,branches/sigchld-tests-6161,itamarst,
