NetBSD/tests/kernel
kamil ce34db38fd Add new ATF tests: kernel/t_zombie
New tests attempting to kill, stop, drop or revive a zombie:
 - signal1 (SIGKILL)
 - signal2 (SIGSTOP)
 - signal3 (SIGABRT)
 - signal4 (SIGHUP)
 - signal5 (SIGCONT)

New test race1 verifying whether there are any kernel races when processing
signals to zombies, executing in a loop for 5 seconds.

These tests were inspired by a kernel unexpected behavior when a lookup
of a dying process could result in two detected entities once as an alive
process and once as a zombie.

race1 is similar to t_ptrace_wait* race1, however without ptrace(2) involved.

Sponsored by <The NetBSD Foundation>
2018-03-14 02:13:47 +00:00
..
kqueue Add EVFILT_FS 2018-01-09 17:35:29 +00:00
tty
Makefile Add new ATF tests: kernel/t_zombie 2018-03-14 02:13:47 +00:00
Makefile.inc
gen_t_subr_prf
h_getprocpath.c Add tests to make sure that the program name is what it is supposed to be. 2017-12-10 15:37:54 +00:00
h_interpreter.sh Add tests to make sure that the program name is what it is supposed to be. 2017-12-10 15:37:54 +00:00
h_ps_strings1.c
h_ps_strings2.c
h_segv.c fix usage. 2017-12-08 14:40:45 +00:00
t_extattrctl.c
t_extent.c Don't play with "../.." in includes for h_macros.h; deal with it centrally. 2017-01-13 21:30:39 +00:00
t_filedesc.c Don't play with "../.." in includes for h_macros.h; deal with it centrally. 2017-01-13 21:30:39 +00:00
t_interp.sh add a test to check that the interpreter is preserved when executing scripts. 2017-12-06 13:54:26 +00:00
t_kauth_pr_47598.c
t_lock.c Don't play with "../.." in includes for h_macros.h; deal with it centrally. 2017-01-13 21:30:39 +00:00
t_lockf.c
t_mqueue.c PR/51871: Ngie Cooper: add fcntl.h for O_* fcntl/open constants 2017-01-14 20:57:24 +00:00
t_procpath.sh Add tests to make sure that the program name is what it is supposed to be. 2017-12-10 15:37:54 +00:00
t_ps_strings.sh
t_pty.c Don't play with "../.." in includes for h_macros.h; deal with it centrally. 2017-01-13 21:30:39 +00:00
t_rnd.c Stress rump hyperentropy a little harder. 2017-04-16 18:24:23 +00:00
t_sysctl.c
t_sysv.c * Use 'struct testmsg' rather than 'struct mymsg' (avoids a conflict 2018-02-03 02:57:15 +00:00
t_timeleft.c Double the nanosleep() time to make the test work more reliably on my 2017-12-30 17:06:27 +00:00
t_trapsignal.sh Add trapsignal tests that make sure that traps don't end up spinning 2017-12-07 19:46:40 +00:00
t_umount.sh
t_umountstress.sh
t_zombie.c Add new ATF tests: kernel/t_zombie 2018-03-14 02:13:47 +00:00