An asynchronous list in a shell without job control has SIGINT and SIGQUIT
ignored, and the whole build inherits that. McdeSys's test_sysload sends
SIGINT to a child of its own and waits for it: under the lock the child
ignored the signal, the test hung, and the run ended as "FAIL test_sysload
(exit status: 143)" or at the SIGINT check (test_sysload.c:195). Started
directly, make check passes.
The lock now runs "sh -c COMMAND" in the foreground, in the lock shell's
process group, so a terminal's INT/TERM reaches the build directly; the EXIT
trap still removes the lock. Measured: tools/build-lock.sh 'tools/
mcde-linux.sh check lib/McdeSys' -> 7/7 PASS, "mcde-linux exit=0"; the same
command before the change failed test_sysload. dash -n is clean.