Module Name: src Committed By: kamil Date: Wed Nov 9 17:50:19 UTC 2016
Modified Files: src/tests/lib/libc/sys: t_wait_noproc.c Log Message: Add new tests in t_wait_noproc and t_wait_noproc to test more options types Add new tests: - waitpid_options - waitid_options - wait3_options - wait4_options - wait6_options These tests are included in t_wait_noproc and t_wait_noproc_wnohang. waitpid_options, wait3_options, wait4_options test combinations of options of: bit for WALLSIG, WALTSIG, __WALL, __WCLONE and later a full combination mask of WNOWAIT, WEXITED, WUNTRACED, WSTOPPED, WTRAPPED and WCONTINUED. waitid and wait6 test full combination mask of WNOWAIT, WEXITED, WUNTRACED, WSTOPPED, WTRAPPED and WCONTINUED -- excluded empty value and singular WNOWAIT. For compatibility reasons alter waitid and wait6 to test against options WEXITED | WTRAPPED, as it's equivalent to waitpid, wait3, wait4. The intention for these tests it to catch any possible issues with slighty changed behavior of wait(2)-like functions in terms of valid options values. All tests pass successfully. Sponsored by <The NetBSD Foundation> To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/sys/t_wait_noproc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.