Module Name: src Committed By: kamil Date: Sun Nov 6 15:04:14 UTC 2016
Modified Files: src/tests/lib/libc/sys: Makefile t_wait.c Log Message: Add new tests: tests/lib/libc/sys/t_wait_noproc and t_wait_noproc_wnohang The t_wait_noproc test checks whether wait(2)-family of functions return error and set ECHILD for lack of childs. The t_wait_noproc_wnohang adds to options (except wait(2), wait3(2)) new parameter WNOHANG and verifies that error is still signaled and errno set to ECHILD. Currently t_wait_noproc_wnohang reports failures, these have been marked as expected and referenced to PR standards/51606. The problem report is authored by Robert Elz, and the initial regression has been notified by Nicolas Joly. Remove redundant test in tests/lib/libc/sys/t_wait for wait6(2) with no WNOHANG specified. Sponsored by <The NetBSD Foundation>. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/tests/lib/libc/sys/Makefile cvs rdiff -u -r1.6 -r1.7 src/tests/lib/libc/sys/t_wait.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.