Module Name: src Committed By: kamil Date: Sun Nov 6 15:03:31 UTC 2016
Modified Files: src/distrib/sets/lists/debug: mi src/distrib/sets/lists/tests: mi Added Files: src/tests/lib/libc/sys: t_wait_noproc.c t_wait_noproc_wnohang.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.170 -r1.171 src/distrib/sets/lists/debug/mi cvs rdiff -u -r1.692 -r1.693 src/distrib/sets/lists/tests/mi cvs rdiff -u -r0 -r1.1 src/tests/lib/libc/sys/t_wait_noproc.c \ src/tests/lib/libc/sys/t_wait_noproc_wnohang.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.