commit | 4709df0f152c477c191f83e18bfecabb2fb2c1f9 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Tue Apr 10 14:49:01 2018 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Tue Apr 10 14:49:01 2018 +0200 |
tree | fa94cad09f55f5a46c8bb793637278b62f2a4b6d | |
parent | bcf56114fa7f037cea579cdc8d17ac1a5dab93a3 [diff] [blame] |
hush: fix handling of \<eof> in double-quoted strings function old new delta encode_string 268 250 -18 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/shell/hush_test/hush-parsing/bkslash_eof2.tests b/shell/hush_test/hush-parsing/bkslash_eof2.tests new file mode 100755 index 0000000..da1f08d --- /dev/null +++ b/shell/hush_test/hush-parsing/bkslash_eof2.tests
@@ -0,0 +1,4 @@ +printf 'echo "unterminated string\\' >test.tmp.sh +. ./test.tmp.sh +echo One:$? +rm -f test.tmp.sh