freebsd-skq/sbin/newfs/Makefile
Poul-Henning Kamp 89fb8ee796 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.
2002-03-19 21:05:29 +00:00

16 lines
304 B
Makefile

# @(#)Makefile 8.2 (Berkeley) 3/27/94
# $FreeBSD$
PROG= newfs
SRCS= newfs.c mkfs.c
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