aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test9.in
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-11-01 21:06:16 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-11-01 21:06:16 -0700
commit4b6639f6974d14cf091beadd68041f7957415071 (patch)
tree708938318801e3be0389ef5ee1057bdcd4f2ae58 /tests/test9.in
parentfa588db1484b0c2a410b72f53fee3ccfbc36384d (diff)
Allow # within string tokens
This means that # must be the first character of the string to start a comment, in line with other shells Fixes #953
Diffstat (limited to 'tests/test9.in')
-rw-r--r--tests/test9.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test9.in b/tests/test9.in
index e85c64b1..3adc1ca4 100644
--- a/tests/test9.in
+++ b/tests/test9.in
@@ -116,4 +116,8 @@ try_unbalanced_block 'if false'
# BOM checking (see #1518)
echo \uFEFF"echo bom_test" | source
+# Comments abutting text (#953)
+echo not#a#comment
+echo is # a # comment
+
false