NetBSD/tests
pooka 172587ab09 Add a kludge to prevent a test run from completely hanging.
Some analysis:

1) p2k_ffs test program opens a socketpair and forks off rump_ffs
2) after mounting the file system, test program decides it
   wants to skip the test and exits
3) somehow, the puffs event thread of rump_ffs stays in kqueue
   waiting for activity.  fstat+gdb suggests it's waiting for the
   now-orphaned socketpair (but I didn't fully verify.  is there
   an easy way to dump the state of a kqueue descriptor?).
4) test program is a zombie
5) atf-run waits forever

Note: this doesn't trigger always.

So, it seems there are at least two bugs: 1) test case doesn't
timeout 2) the kevent call in rump_ffs never returns even though
the sockerpair is orphaned

So, explicitly unmount the file system before skipping the test.
Obviously the above bugs needs to be properly fixed, since other
skipping test cases can unbeknowingly trigger the issue.
2011-03-06 10:33:40 +00:00
..
crypto Don't force debug build. 2010-12-18 04:27:17 +00:00
dev PR#44239 is now fixed, remove the xfail from the test. 2011-03-01 22:52:54 +00:00
fs Add a kludge to prevent a test run from completely hanging. 2011-03-06 10:33:40 +00:00
games Since /usr/games is rarely in one's $PATH, provide an absolute path to the 2010-11-19 12:31:36 +00:00
include Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
ipf Disable test cases which have not worked in ages instead of skipping them. 2010-12-18 13:06:51 +00:00
kernel Add tests for verifying the recent changes to ps_strings 2011-03-05 18:14:33 +00:00
lib add tests for hijacked /bin/sh (mostly redirection now) 2011-03-03 11:54:11 +00:00
libexec test helper program exit code, not test program exit code 2010-12-31 08:52:32 +00:00
modules Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
net make netcfg produce sensible results in a non-atf env 2011-02-28 21:21:14 +00:00
rump in reconnect, ignore any all reconnect messages 2011-02-24 08:40:06 +00:00
sbin Back out previous; it's causing intermittent problems which I don't 2011-03-04 17:56:53 +00:00
sys Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
syscall + rump_lwproc_newproc -> rump_lwproc_rfork() 2011-01-02 12:58:17 +00:00
toolchain Add tests to check "cc" can compile a working hello world. 2011-02-24 10:24:23 +00:00
usr.bin Test the -d type parameter of rump_server(1). 2011-02-17 16:08:48 +00:00
usr.sbin avoid temp file per clue-by-four from jmmv 2010-12-31 15:21:49 +00:00
util Typo. 2011-02-13 12:47:27 +00:00
Atffile
h_macros.h Add RZ(), which is like RL() except that it checks against 0 and 2010-08-31 17:21:14 +00:00
Makefile Add tests to check "cc" can compile a working hello world. 2011-02-24 10:24:23 +00:00
Makefile.inc add Makefile.inc everywhere so that we can set WARNS=4 by default. Amazing 2010-11-03 16:10:19 +00:00