From ca2e5c188ee68045b54a86bfefcfd4a75e174221 Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 19 Mar 2002 21:05:29 +0000 Subject: 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. --- sbin/newfs/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sbin/newfs/Makefile') 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 + +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 -- cgit v1.1