Bug#761596: autopkgtest: overrides default SIGINT handler
Niko Tyni
ntyni at debian.org
Mon Sep 15 17:47:46 UTC 2014
On Mon, Sep 15, 2014 at 05:16:26PM +0200, Martin Pitt wrote:
> to the test script shows that bash appears to set SIGINT to SIG_IGN
> for backgrounded jobs. It appears that this is even described in the
> manpage.
Well done! I stared quite some time at the autopkgtest source too but
failed to make this connection.
> script += 'touch %(o)s %(e)s; ' \
> '%(t)s 2> >(tee -a %(e)s >&2) > >(tee -a %(o)s) & TPID=$!; ' \
> 'trap "kill $TPID || true; rm -rf $ADTTMP" TERM; ' \
> 'wait $TPID;' \
Wow. Good luck rewiring that :)
Thanks for your work!
--
Niko
More information about the autopkgtest-devel
mailing list