NetBSD/tests/fs/tmpfs
jmmv 27486724f4 Prevent failures from cleanup routines. Do so by only attempting to do the
cleanup if the test case did not succeed (as, when it succeeds, the cleanup
has already happened).
2011-03-24 21:52:51 +00:00
..
Makefile Remove a test (that a created directory had a predictable inode number) 2010-06-07 03:43:50 +00:00
README
h_funcs.subr Skip instead of fail test if tmpfs cannot be mounted and the 2011-02-21 10:14:29 +00:00
h_tools.c Fix off by one that made most of these tests die with a bus error in the 2011-01-15 20:16:57 +00:00
t_create.sh chown the workdir to unpriv user instead of chmod 711. Otherwise, 2011-03-05 07:41:11 +00:00
t_devices.sh Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
t_dots.sh Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
t_exec.sh Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
t_link.sh Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
t_mkdir.sh chown the workdir to unpriv user instead of chmod 711. Otherwise, 2011-03-05 07:41:11 +00:00
t_mknod.sh Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
t_mount.sh Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
t_pipes.sh Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
t_read_write.sh Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
t_readdir.sh Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
t_remove.sh Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
t_rename.sh Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
t_renamerace.c win wunused 2011-01-04 18:46:21 +00:00
t_rmdir.sh Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
t_setattr.sh Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
t_sizes.sh Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
t_sockets.sh Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
t_statvfs.sh Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
t_symlink.sh Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
t_times.sh Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
t_trail_slash.sh Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
t_truncate.sh Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
t_vnd.sh Prevent failures from cleanup routines. Do so by only attempting to do the 2011-03-24 21:52:51 +00:00
t_vnode_leak.sh Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00

README

The tests in this directory where written at the same time tmpfs was
developed.  This is why, if you follow the order of tests in the Atffile,
you will notice that they start checking the most basic things and end
checking the less common ones.  Furthermore, tests try not to use features
tested by further tests in the lists.

However, the above is not the most appropriate testing procedure when you
have a working file system because some separation in test programs does
not make sense afterwards.

Many of the tests here are applicable to any file system.  They should be
refactored to be reusable on any mounted file system, which could also
remove the need to do the mount/unmount steps in each and every test case.

Possibly take a look at the file system tests in FreeBSD.  They seem to be
much more complete, even though they are written in Perl and therefore not
directly usable.