When I tried building the 2.16 branch, tst-waitid.out failed. The previous time it had worked fine, and the next time it worked fine as well. Output in the failing case: $ cat posix/tst-waitid.out missing SIGCHLD on stopped A quick web search finds [1] from 2010. If I understand that discussion correctly, a plausible fix was proposed but then nothing came of it. Known problem? Thanks, Jonathan [1] http://thread.gmane.org/gmane.comp.lib.glibc.alpha/15495/focus=15505
Architecture is amd64. Toolchain is Debian gcc-4.6 4.6.3-10. Kernel is Linux 3.6-rc7 with Debian's patches applied.
This failing test is not mentioned at [2], but for what it's worth it is on the list of the expected failures at [3]. It was first added to that list in March, 2011[4]. [2] http://sourceware.org/glibc/wiki/Release/2.16 [3] http://svn.debian.org/viewvc/pkg-glibc/glibc-package/branches/eglibc-2.16/debian/testsuite-checking/expected-results-x86_64-linux-gnu-amd64?view=co [4] http://svn.debian.org/viewvc/pkg-glibc?view=revision&revision=4561
The master branch has been updated by Adhemerval Zanella <azanella@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b3b6a40ab9ad374a85f347adf1725760f1238eb5 commit b3b6a40ab9ad374a85f347adf1725760f1238eb5 Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Tue Nov 19 17:21:26 2019 -0300 posix: Refactor tst-waitid (BZ #14666) The main changes are: - Adapt to libsupport. - Synchronize the signal handler using atomics. - Replace waitpid by waitid calls. - Use support_process_state_wait to wait for child state. - Add tests for P_PGID and P_ALL. - Use sigwaitinfo instead of global state set by the signal handler. Checked on x86_64-linux-gnu and i686-linux-gnu.