sh: Add tests for comments in sh -c.

This commit is contained in:
Jilles Tjoelker 2016-02-19 16:56:07 +00:00
parent 5a1a8ad938
commit a3ec59c20a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295818
3 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,3 @@
# $FreeBSD$
${SH} -c '#'

View File

@ -0,0 +1,4 @@
# $FreeBSD$
${SH} -c '#
exit 42'