xref: /netbsd-src/tests/fs/tmpfs/README (revision 9b7401e7cb4e6a8aa5a84a9facdc1d940082106f)
1*9b7401e7SjmmvThe tests in this directory where written at the same time tmpfs was
2*9b7401e7Sjmmvdeveloped.  This is why, if you follow the order of tests in the Atffile,
3*9b7401e7Sjmmvyou will notice that they start checking the most basic things and end
4*9b7401e7Sjmmvchecking the less common ones.  Furthermore, tests try not to use features
5*9b7401e7Sjmmvtested by further tests in the lists.
6*9b7401e7Sjmmv
7*9b7401e7SjmmvHowever, the above is not the most appropriate testing procedure when you
8*9b7401e7Sjmmvhave a working file system because some separation in test programs does
9*9b7401e7Sjmmvnot make sense afterwards.
10*9b7401e7Sjmmv
11*9b7401e7SjmmvMany of the tests here are applicable to any file system.  They should be
12*9b7401e7Sjmmvrefactored to be reusable on any mounted file system, which could also
13*9b7401e7Sjmmvremove the need to do the mount/unmount steps in each and every test case.
14*9b7401e7Sjmmv
15*9b7401e7SjmmvPossibly take a look at the file system tests in FreeBSD.  They seem to be
16*9b7401e7Sjmmvmuch more complete, even though they are written in Perl and therefore not
17*9b7401e7Sjmmvdirectly usable.
18