From: Michael Stapelberg Date: Wed, 5 Oct 2011 22:29:58 +0000 (+0100) Subject: complete-run: explicitly state why we need to overwrite SIGCHLD X-Git-Tag: 4.1~121^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=27a38a3917626932d908b94c603be4747490a84c;p=i3%2Fi3 complete-run: explicitly state why we need to overwrite SIGCHLD --- diff --git a/testcases/complete-run.pl b/testcases/complete-run.pl index c8c67a9a..952f10c6 100755 --- a/testcases/complete-run.pl +++ b/testcases/complete-run.pl @@ -33,7 +33,9 @@ use AnyEvent::Handle; use AnyEvent::I3 qw(:all); use X11::XCB; -# install a dummy CHLD handler to overwrite the CHLD handler of AnyEvent / EV +# Install a dummy CHLD handler to overwrite the CHLD handler of AnyEvent / EV. +# AnyEvent’s handler wait()s for every child which conflicts with TAP (TAP +# needs to get the exit status to determine if a test is successful). # XXX: we could maybe also use a different loop than the default loop in EV? $SIG{CHLD} = sub { };