Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2017 20:33:11 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r326780 - in stable/11: etc/mtree usr.bin/head usr.bin/head/tests
Message-ID:  <201712112033.vBBKXBbY039512@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712112033.vBBKXBbY039512>