svn commit: r287441 - in stable/10: etc/mtree usr.sbin/fstyp usr.sbin/fstyp/tests

Alan Somers asomers at FreeBSD.org
Thu Sep 3 19:42:58 UTC 2015


Author: asomers
Date: Thu Sep  3 19:42:56 2015
New Revision: 287441
URL: https://svnweb.freebsd.org/changeset/base/287441

Log:
  MFC r286964
  
  Add ATF functional tests for fstyp(8).  No ZFS or GELI tests yet.

Added:
  stable/10/usr.sbin/fstyp/tests/
     - copied from r286964, head/usr.sbin/fstyp/tests/
Modified:
  stable/10/etc/mtree/BSD.tests.dist
  stable/10/usr.sbin/fstyp/Makefile
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/etc/mtree/BSD.tests.dist
==============================================================================
--- stable/10/etc/mtree/BSD.tests.dist	Thu Sep  3 18:27:39 2015	(r287440)
+++ stable/10/etc/mtree/BSD.tests.dist	Thu Sep  3 19:42:56 2015	(r287441)
@@ -388,6 +388,8 @@
     usr.sbin
         etcupdate
         ..
+        fstyp
+        ..
         newsyslog
         ..
         nmtree

Modified: stable/10/usr.sbin/fstyp/Makefile
==============================================================================
--- stable/10/usr.sbin/fstyp/Makefile	Thu Sep  3 18:27:39 2015	(r287440)
+++ stable/10/usr.sbin/fstyp/Makefile	Thu Sep  3 19:42:56 2015	(r287441)
@@ -1,9 +1,15 @@
 # $FreeBSD$
 
+.include <bsd.own.mk>
+
 PROG=	fstyp
 SRCS=	fstyp.c ext2fs.c cd9660.c msdosfs.c ntfs.c ufs.c
 MAN=	fstyp.8
 
 WARNS=	6
 
+.if ${MK_TESTS} != "no"
+SUBDIR+=	tests
+.endif
+
 .include <bsd.prog.mk>


More information about the svn-src-all mailing list