svn commit: r326780 - in stable/11: etc/mtree usr.bin/head usr.bin/head/tests

Alan Somers asomers at FreeBSD.org
Mon Dec 11 20:33:13 UTC 2017


Author: asomers
Date: Mon Dec 11 20:33:11 2017
New Revision: 326780
URL: https://svnweb.freebsd.org/changeset/base/326780

Log:
  MFC r326039:
  
  Add ATF tests for head(1)
  
  Submitted by:	Fred Schlecter <https://github.com/fjs-github>
  Reviewed by:	asomers, jilles
  Differential Revision:	https://github.com/freebsd/freebsd/pull/127

Added:
  stable/11/usr.bin/head/tests/
     - copied from r326039, head/usr.bin/head/tests/
Modified:
  stable/11/etc/mtree/BSD.tests.dist
  stable/11/usr.bin/head/Makefile
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/etc/mtree/BSD.tests.dist
==============================================================================
--- stable/11/etc/mtree/BSD.tests.dist	Mon Dec 11 20:30:58 2017	(r326779)
+++ stable/11/etc/mtree/BSD.tests.dist	Mon Dec 11 20:33:11 2017	(r326780)
@@ -646,6 +646,8 @@
         ..
         gzip
         ..
+        head
+        ..
         ident
         ..
         join

Modified: stable/11/usr.bin/head/Makefile
==============================================================================
--- stable/11/usr.bin/head/Makefile	Mon Dec 11 20:30:58 2017	(r326779)
+++ stable/11/usr.bin/head/Makefile	Mon Dec 11 20:33:11 2017	(r326780)
@@ -1,6 +1,11 @@
 #	@(#)Makefile	8.1 (Berkeley) 6/6/93
 # $FreeBSD$
 
+.include <src.opts.mk>
+
 PROG=	head
+
+HAS_TESTS=
+SUBDIR.${MK_TESTS}+= tests
 
 .include <bsd.prog.mk>


More information about the svn-src-all mailing list