svn commit: r320712 - in stable/10: bin/echo bin/echo/tests etc/mtree
Ngie Cooper
ngie at FreeBSD.org
Thu Jul 6 05:28:37 UTC 2017
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
More information about the svn-src-all
mailing list