Date: Sun, 2 Mar 2014 03:32:57 -0800 From: Garrett Cooper <yanegomi@gmail.com> To: Alan Somers <asomers@freebsd.org> Cc: "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>, Peter Holm <peter@holm.cc> Subject: Re: The ATF cleanup routine Message-ID: <7C6A91CA-3C40-48BF-B230-4F388F05B8CA@gmail.com> In-Reply-To: <CAOtMX2gp8PwO2oHAA6oNcD9fP7ZCFHYrz=D-hjP-F16yRRwrhw@mail.gmail.com> References: <20140227124911.GA37892@x2.osted.lan> <CAOtMX2gp8PwO2oHAA6oNcD9fP7ZCFHYrz=D-hjP-F16yRRwrhw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 1, 2014, at 4:03 PM, Alan Somers <asomers@freebsd.org> wrote: > On Thu, Feb 27, 2014 at 5:49 AM, Peter Holm <peter@holm.cc> wrote: >> 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. >>=20 >> http://people.freebsd.org/~pho/cleanup_test.c >>=20 >> $ kyua debug cleanup_test:maxfiles >> /usr/src/tests/sys/kern/cleanup_test.c:14: pid 74893 >> global =3D 0. /usr/src/tests/sys/kern/cleanup_test.c:20: pid 74894 >> cleanup_test:maxfiles -> passed >> $ >>=20 >=20 > Since you aren't getting any help here, you should try posting this > question to kyua-discuss@googlegroups.com. It's not FreeBSD-specific. FWIW, this is a design caveat I discovered when trying to = implement global (test case wide) setup/cleanup routines, and port over = other testcases from NetBSD=92s libc test suite. Cheers, -Garrett=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7C6A91CA-3C40-48BF-B230-4F388F05B8CA>