The ATF cleanup routine

Peter Holm peter at holm.cc
Thu Feb 27 12:55:54 UTC 2014


It seems as thou the cleanup routine runs in a different process from
the body. The NetBSD tests I found assume that they share address
space.

http://people.freebsd.org/~pho/cleanup_test.c

$ kyua debug cleanup_test:maxfiles
/usr/src/tests/sys/kern/cleanup_test.c:14: pid 74893
global = 0. /usr/src/tests/sys/kern/cleanup_test.c:20: pid 74894
cleanup_test:maxfiles  ->  passed
$ 

-- 
Peter


More information about the freebsd-testing mailing list