diff options
author | phk <phk@FreeBSD.org> | 2002-03-19 21:05:29 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-03-19 21:05:29 +0000 |
commit | ca2e5c188ee68045b54a86bfefcfd4a75e174221 (patch) | |
tree | efe73699db1df391f9b4fcd88000d3a2f42d5ede /sbin/newfs/Makefile | |
parent | 5a84f9883932fbf90adb9dd3951956e85776adb9 (diff) | |
download | FreeBSD-src-ca2e5c188ee68045b54a86bfefcfd4a75e174221.zip FreeBSD-src-ca2e5c188ee68045b54a86bfefcfd4a75e174221.tar.gz |
Add the undocumented -R option to disable randomness for regression-testing.
Add a couple of simple regression tests accessible with "make test", they
depend on the md(4) driver.
FYI I have also tried running the test against a week old newfs and it
passed.
Diffstat (limited to 'sbin/newfs/Makefile')
-rw-r--r-- | sbin/newfs/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sbin/newfs/Makefile b/sbin/newfs/Makefile index c172555..f12e266 100644 --- a/sbin/newfs/Makefile +++ b/sbin/newfs/Makefile @@ -7,3 +7,9 @@ WARNS?= 2 MAN= newfs.8 .include <bsd.prog.mk> + +test: ${PROG} + sh ${.CURDIR}/runtest01.sh + sh ${.CURDIR}/runtest00.sh | tee _.test + diff --ignore-matching-lines=FreeBSD _.test ${.CURDIR}/ref.test + echo All Tests Passed |