OpenGrok
Cross Reference: t_wait.c
xref
: /
src
/
tests
/
lib
/
libc
/
sys
/
t_wait.c
Home
|
History
|
Annotate
|
Download
|
only in
sys
History log of
/src/tests/lib/libc/sys/t_wait.c
Revision
Date
Author
Comments
1.10
17-Jul-2021
martin
PR 56313: fix eroneous = that was meant to be ==
1.9
04-Feb-2019
mrg
- add __unreachable() after ATF_REQUIRE(pid > 0) where pid <= 0.
- rearrange one switch so that the -1/0/default cases are the
same order in all instances.
1.8
13-Jan-2017
christos
branches: 1.8.14;
PR/51841: Ngie Cooper: portability fixes for FreeBSD
1.7
06-Nov-2016
kamil
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>.
1.6
06-Nov-2016
kamil
All tests in t_wait now pass
Christos Zoulas committed fixes to src/sys/sys/wait.h r.1.32.
Closes PR standards/51603
Sponsored by <The NetBSD Foundation>
1.5
05-Nov-2016
kamil
Add new test wait6_stopgo_loop in t_wait
This test verifies that it is possible to emit multiple times SIGSTOP and
SIGCONT for a child.
Add checks that status does not return more than one valid state from the
following list: STOPPED, CONTINUED, EXITED and SIGNALED. This check fails
for WIFCONTINUED()==true as it currently and wrongly returns true for
WIFSTOPPED().
This verification is added to wait6_stopgo_loop and wait6_stop_and_go and
marked as expected failure and linked with PR standards/51603.
Remove trailing whitespace.
Sponsored by <The NetBSD Foundation>
1.4
27-Apr-2016
christos
branches: 1.4.2;
- Adjust to the correct wait6 semantics (returns pid)
- Avoid race in setrlimit(2)
1.3
06-Apr-2016
christos
Use WIFCONTINUED.
1.2
06-Apr-2016
christos
Fix ATF_REQUIRE(false)
1.1
06-Apr-2016
christos
Add wait6(2) tests.
1.4.2.2
20-Mar-2017
pgoyette
Sync with HEAD
1.4.2.1
07-Jan-2017
pgoyette
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
1.8.14.1
10-Jun-2019
christos
Sync with HEAD
Indexes created Wed Oct 01 07:09:59 GMT 2025