mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-27 16:39:08 +00:00
sh: Add tests for comments in sh -c.
This commit is contained in:
parent
5a1a8ad938
commit
a3ec59c20a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295818
@ -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
|
||||
|
3
bin/sh/tests/parser/comment1.0
Normal file
3
bin/sh/tests/parser/comment1.0
Normal file
@ -0,0 +1,3 @@
|
||||
# $FreeBSD$
|
||||
|
||||
${SH} -c '#'
|
4
bin/sh/tests/parser/comment2.42
Normal file
4
bin/sh/tests/parser/comment2.42
Normal file
@ -0,0 +1,4 @@
|
||||
# $FreeBSD$
|
||||
|
||||
${SH} -c '#
|
||||
exit 42'
|
Loading…
Reference in New Issue
Block a user