xref: /freebsd/contrib/netbsd-tests/fs/tmpfs/README (revision 9268022b74279434ed6300244e3f977e56a8ceb5)
1*57718be8SEnji CooperThe tests in this directory where written at the same time tmpfs was
2*57718be8SEnji Cooperdeveloped.  This is why, if you follow the order of tests in the Atffile,
3*57718be8SEnji Cooperyou will notice that they start checking the most basic things and end
4*57718be8SEnji Cooperchecking the less common ones.  Furthermore, tests try not to use features
5*57718be8SEnji Coopertested by further tests in the lists.
6*57718be8SEnji Cooper
7*57718be8SEnji CooperHowever, the above is not the most appropriate testing procedure when you
8*57718be8SEnji Cooperhave a working file system because some separation in test programs does
9*57718be8SEnji Coopernot make sense afterwards.
10*57718be8SEnji Cooper
11*57718be8SEnji CooperMany of the tests here are applicable to any file system.  They should be
12*57718be8SEnji Cooperrefactored to be reusable on any mounted file system, which could also
13*57718be8SEnji Cooperremove the need to do the mount/unmount steps in each and every test case.
14*57718be8SEnji Cooper
15*57718be8SEnji CooperPossibly take a look at the file system tests in FreeBSD.  They seem to be
16*57718be8SEnji Coopermuch more complete, even though they are written in Perl and therefore not
17*57718be8SEnji Cooperdirectly usable.
18