summaryrefslogtreecommitdiffstats
path: root/sbin/newfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/newfs/Makefile')
-rw-r--r--sbin/newfs/Makefile6
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
OpenPOWER on IntegriCloud