svn commit: r295818 - head/bin/sh/tests/parser
Jilles Tjoelker
jilles at FreeBSD.org
Fri Feb 19 16:56:09 UTC 2016
Author: jilles
Date: Fri Feb 19 16:56:07 2016
New Revision: 295818
URL: https://svnweb.freebsd.org/changeset/base/295818
Log:
sh: Add tests for comments in sh -c.
Added:
head/bin/sh/tests/parser/comment1.0 (contents, props changed)
head/bin/sh/tests/parser/comment2.42 (contents, props changed)
Modified:
head/bin/sh/tests/parser/Makefile
Modified: head/bin/sh/tests/parser/Makefile
==============================================================================
--- head/bin/sh/tests/parser/Makefile Fri Feb 19 16:53:41 2016 (r295817)
+++ head/bin/sh/tests/parser/Makefile Fri Feb 19 16:56:07 2016 (r295818)
@@ -25,6 +25,8 @@ FILES+= alias15.0 alias15.0.stdout
FILES+= and-pipe-not.0
FILES+= case1.0
FILES+= case2.0
+FILES+= comment1.0
+FILES+= comment2.42
FILES+= dollar-quote1.0
FILES+= dollar-quote2.0
FILES+= dollar-quote3.0
Added: head/bin/sh/tests/parser/comment1.0
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/bin/sh/tests/parser/comment1.0 Fri Feb 19 16:56:07 2016 (r295818)
@@ -0,0 +1,3 @@
+# $FreeBSD$
+
+${SH} -c '#'
Added: head/bin/sh/tests/parser/comment2.42
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/bin/sh/tests/parser/comment2.42 Fri Feb 19 16:56:07 2016 (r295818)
@@ -0,0 +1,4 @@
+# $FreeBSD$
+
+${SH} -c '#
+exit 42'
More information about the svn-src-all
mailing list