Re: [PATCH v2 1/7] test-lib: translate SIGTERM and SIGHUP to an exit

2018-12-11 Thread Jeff King
On Sun, Dec 09, 2018 at 11:56:22PM +0100, SZEDER Gábor wrote: > Right now if a test script receives SIGTERM or SIGHUP (e.g., because a > test was hanging and the user 'kill'-ed it or simply closed the > terminal window the test was running in), the shell exits immediately. > This can be annoying i

[PATCH v2 1/7] test-lib: translate SIGTERM and SIGHUP to an exit

2018-12-09 Thread SZEDER Gábor
Right now if a test script receives SIGTERM or SIGHUP (e.g., because a test was hanging and the user 'kill'-ed it or simply closed the terminal window the test was running in), the shell exits immediately. This can be annoying if the test script did any global setup, like starting apache or git-dae