[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#761596: autopkgtest: overrides default SIGINT handler

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!

Reply to: