Re: [kvm-unit-tests PATCH v2 2/2] run_tests: allow run tests in parallel

Peter Xu
2017-01-06T03:31:12Z

On Thu, Jan 05, 2017 at 08:44:02PM +0100, Radim Krčmář wrote:

[...]

> > Anyway, IMHO squashing you suggestion of "trap exit SIGINT" at the
> > entry of for_each_unittest() is an acceptable solution - it works in
> > all cases.
>
> Seems like the best solution at this time ...
> We actually want to "exit 130", as it would when using normal wait does,
> and maybe it could be improved a bit by adding a wait:
>
> trap 'wait; exit 130' SIGINT

Sounds better, thanks!

Will repost with this one.

-- peterx