From 27a38a3917626932d908b94c603be4747490a84c Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 5 Oct 2011 23:29:58 +0100 Subject: [PATCH] complete-run: explicitly state why we need to overwrite SIGCHLD --- testcases/complete-run.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 { }; -- 2.39.5