aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test1.in
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-05-02 18:22:20 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-05-02 18:22:20 -0700
commit3ca518255e7be2af5fe4a6b2a02e33dd232729d9 (patch)
tree0c48abaadd3f9e820d785f2740c006482ae42975 /tests/test1.in
parentc59119e0b77d08fcaab7a620920e565baa06aee7 (diff)
Treat comments ending in backslashes as not continuing onto the next line
Fixes #1255
Diffstat (limited to 'tests/test1.in')
-rw-r--r--tests/test1.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test1.in b/tests/test1.in
index b9db902a..cfea247a 100644
--- a/tests/test1.in
+++ b/tests/test1.in
@@ -155,6 +155,11 @@ echo before comment \
# comment
after comment
+# Backslashes are part of comments and do not join lines (#1255)
+# This should execute false, not echo it
+echo -n # comment\
+false
+
function always_fails
if true
return 1