summaryrefslogtreecommitdiff
path: root/tests/setpgrp-exec.c
Commit message (Collapse)AuthorAgeFilesLines
* Change my email addressDmitry V. Levin2020-12-311-1/+1
|
* tests: fix another race condition in strace-DD.testDmitry V. Levin2020-04-021-0/+22
Apparently, timeout(1) utility first sends its signal to the child process, then installs a signal handler, and finally sends its signal to the process group. This creates a race between timeout(1) and strace, the latter can manage to handle tracee syscall exit trap before a signal to the process group is delivered. * tests/setpgrp-exec.c: New file. * tests/strace-DD.test: Rewrite without use of timeout(1). * tests/strace-DD.expected: Remove. * tests/Makefile.am (check_PROGRAMS): Add setpgrp-exec. (EXTRA_DIST): Remove strace-DD.expected. Fixes: v5.4~106 "tests: check -DD and -DDD options"