sh: Test that backslash-newline within single-quotes is not special
This works correctly, but the test may be helpful when modifying the parser.
This commit is contained in:
parent
b69888c28f
commit
0c6c134f79
@ -74,6 +74,7 @@ ${PACKAGE}FILES+= line-cont8.0
|
||||
${PACKAGE}FILES+= line-cont9.0
|
||||
${PACKAGE}FILES+= line-cont10.0
|
||||
${PACKAGE}FILES+= line-cont11.0
|
||||
${PACKAGE}FILES+= line-cont12.0
|
||||
${PACKAGE}FILES+= no-space1.0
|
||||
${PACKAGE}FILES+= no-space2.0
|
||||
${PACKAGE}FILES+= nul1.0
|
||||
|
5
bin/sh/tests/parser/line-cont12.0
Normal file
5
bin/sh/tests/parser/line-cont12.0
Normal file
@ -0,0 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
[ '\
|
||||
' = "\\
|
||||
" ]
|
Loading…
Reference in New Issue
Block a user