Skip to content
Commit 5ed46458 authored by Martin Pitt's avatar Martin Pitt
Browse files

Fix invocation of tests so that they retain the default SIGINT handler

We previously ran the test in a background bash subshell, so that we could
inject a trap to forward SIGTERM to the child. But background shells set the
signal handlers for INT to SIG_IGN, so that tests can't use that signal any
more.

Avoid that by running the test in the foreground again and dropping the trap
(which was never very reliable as it wouldn't terminate grandchildren). Replace
this with putting the test invocation script into a new process group and
killing the whole group on timeout.

Closes: #761596
parent dcbbbab2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment