NetBSD/tests
riz 06253fa750 Re-work the resize_ffs(8) tests:
Put real data into file systems before resizing:  the test data
was randomly generated and is in pairs of files each a power-of-two and
power-of-two plus one bytes to hopefully catch block and frag issues.

Each test fills (nearly) the file system with test data.  If shrinking,
it removes enough data so that the shrunken file system will be large enough
to accomodate the data.  (It's done this way to hopefully ensure some or
most of the data will need to be moved when shrinking).  The files are
then checked with MD5 against the known list.  This particular method
was chosen to reduce the amount of data checked in while still retaining
reproducibility.

There are more tests to come;  since resize_ffs(8) currently does not
support ffsv2 or byteswapped file systems, only a couple token expected-fail
test cases for those were added.  Also, only 8:1 blocksize:fragsize
combinations are currently tested.
2010-12-09 05:19:02 +00:00
..
crypto increase timeouts of long-running tests 2010-11-08 19:06:12 +00:00
dev cleanup server after use 2010-11-30 22:15:02 +00:00
fs Convert skipped tests into proper xfails (a lazy bum is me). 2010-11-19 17:46:02 +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 Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
kernel adjust errno after kernel change to be EINVAL 2010-12-06 16:37:25 +00:00
lib Link t_fpu against libm if the compiler doesn't want to inline sin/cos. 2010-12-08 23:50:14 +00:00
libexec add Makefile.inc everywhere so that we can set WARNS=4 by default. Amazing 2010-11-03 16:10:19 +00:00
modules Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
net Add an xfail test for the mbuf leak described in PR kern/44196. 2010-12-06 11:32:01 +00:00
rump Add a simple and stress test cases for the rump remote syscall code. 2010-11-30 22:09:15 +00:00
sbin Re-work the resize_ffs(8) tests: 2010-12-09 05:19:02 +00:00
sys Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
syscall update to new rump lwp/proc interfaces 2010-09-01 19:41:27 +00:00
util In the seek test also check that files end up with expected size. 2010-12-06 16:43:26 +00:00
Atffile Re-add the NetBSD CVS Id tag to the header. It just had to be quoted to 2007-12-30 09:13:32 +00:00
Makefile Make tests set generation optional, skipped for MKATF=no build. 2010-12-08 23:56:01 +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
h_macros.h Add RZ(), which is like RL() except that it checks against 0 and 2010-08-31 17:21:14 +00:00