pooka
370c9ab597
Convert the file system test common routines into a library to
...
facilitate more complex user-side stuff (like the lfs cleaner and
nfs rpc code), which are non-trivial to do by #include.
2010-07-19 16:09:07 +00:00
pooka
34de412690
off_t -> uint64_t to hopefully avoid some lp64 signedness whines.
2010-07-13 17:49:24 +00:00
pooka
63ef4b38f6
Run puffs/dtfs as part of the vfs tests.
2010-07-13 16:48:15 +00:00
njoly
fb13fa89fd
Add testcase data argument to all fstest helper functions.
...
Needed by pooka for puffs fstest support.
2010-07-13 15:50:31 +00:00
pooka
5b92553888
Make the FSTYPE macros take tc instead of derivative type "type".
...
ok njoly
2010-07-13 11:12:19 +00:00
njoly
95f6e757bd
Update filesystem helper functions namespace (from XXX_mount to
...
XXX_fstest_mount) to avoid conflicts with existing functions such as
puffs_mount.
2010-07-12 21:37:47 +00:00
njoly
e4723ab868
Pass down the test case data to the test function, to be able to use
...
meta-data informations such as srcdir. Requested by pooka.
While here remove fstype argument, and define it as a custom meta-data
(X-fs.type) instead.
2010-07-12 21:05:19 +00:00
pooka
3909f0ed5c
Remove the lfs race condition hack now that it's properly in the
...
test instead of the fs-specific part.
2010-07-11 11:25:22 +00:00
njoly
14f486761f
Get rid of home made filesystem type strings and use MOUNT_xxx ones
...
instead. While here provide some macros which do test for a specific
type.
2010-07-09 14:30:53 +00:00
njoly
136ff61968
Pass down the filesystem type to the test funtion to allow fs-specific
...
callpoints.
Adjust t_rmdirrace by moving LFS test specific code from common/lfs.c,
and do skip sysvbfs which does not support rmdir(2).
from pooka.
2010-07-09 14:16:05 +00:00
pooka
fbcc1c5736
fill in PR number now that we have one
2010-07-08 13:30:53 +00:00
pooka
df74e53708
Add LFS to vfs test list. TODO: start cleanerd too.
...
It fails in a number of different ways. Some of them seem to appear
as a function of the file system size (i'm not sure if it's because
the lack of the cleaner or not. i'm guessing ``no'', though).
ok njoly
2010-07-08 13:21:02 +00:00
njoly
41df35f7e1
Fix more copyrights, where i forgot to add my name.
2010-07-05 14:53:03 +00:00
njoly
1bb5701860
Add helper code and macros to ease writing filesystem tests with rump.
...
Support currently limited to ext2fs, ffs, msdos, sysvbfs and tmpfs.
2010-06-30 20:39:39 +00:00
jmmv
6b84fb92ac
atf-0.9 introduces an use.fs test-case property to allow tests to write to
...
their work directory. The purpose is to be able to know which tests intend
to touch the file system and to allow a minor optimization in atf-run.
Define use.fs=true for all those tests requiring it. (This highlights that
some tests currently require modifying the file system but conceptually
they shouldn't be... which leaves room for further improvements/cleanups
later :-)
2010-06-04 08:39:40 +00:00
pooka
104b695ac0
Now that atf gdb/coredump conflicts have been solved (thanks jmmv!),
...
remove USE_ATF ifdefs.
2010-05-31 23:44:54 +00:00
pooka
27b6b96670
Add the typical #ifdef USE_ATF stuff so I can debug the test if it
...
goes wrong.
2010-04-16 14:05:32 +00:00
pooka
0d66aa2889
Split snapshot test into fs-independent backend and fs-specific frontend.
...
I really wish all our fs tests were like this (in principle, that
is. I'm not talking about this hacky implementation). I've been
wishing this for quite a few years now. Seems like my wishes don't
come true.
2010-04-13 10:19:25 +00:00