Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jul 2017 05:28:35 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r320712 - in stable/10: bin/echo bin/echo/tests etc/mtree
Message-ID:  <201707060528.v665SZsa014567@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Thu Jul  6 05:28:35 2017
New Revision: 320712
URL: https://svnweb.freebsd.org/changeset/base/320712

Log:
  MFC r319626:
  
  Add basic tests for echo(1)
  
  Verify that echo(1) does not...
  - ... print the trailing newline character with option '-n'.
  - ... print the trailing newline character when '\c' is appended to
        the end of the string.

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

Modified: stable/10/bin/echo/Makefile
==============================================================================
--- stable/10/bin/echo/Makefile	Thu Jul  6 05:28:32 2017	(r320711)
+++ stable/10/bin/echo/Makefile	Thu Jul  6 05:28:35 2017	(r320712)
@@ -1,6 +1,12 @@
 #	@(#)Makefile	8.1 (Berkeley) 5/31/93
 # $FreeBSD$
 
+.include <bsd.own.mk>
+
 PROG=	echo
+
+.if ${MK_TESTS} != "no"
+SUBDIR+= 	tests
+.endif
 
 .include <bsd.prog.mk>

Modified: stable/10/etc/mtree/BSD.tests.dist
==============================================================================
--- stable/10/etc/mtree/BSD.tests.dist	Thu Jul  6 05:28:32 2017	(r320711)
+++ stable/10/etc/mtree/BSD.tests.dist	Thu Jul  6 05:28:35 2017	(r320712)
@@ -14,6 +14,8 @@
         ..
         dd
         ..
+        echo
+        ..
         expr
         ..
         ls



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