89fb8ee796
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.
16 lines
304 B
Makefile
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
|