diff options
author | Ricardo Giorni <ricardo@giorni.co> | 2018-04-29 12:05:39 -0700 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2018-04-29 12:05:39 -0700 |
commit | f7519811e1bbe990ff1c3d499ffb70cfc2d034f8 (patch) | |
tree | 1bd8450fa2b3abea765dcb87a87f7f5965df53a0 /Test/A04redirect.ztst | |
parent | 2d3b3510a80046cd4222bf9c515afc90bdf76418 (diff) | |
download | zsh-f7519811e1bbe990ff1c3d499ffb70cfc2d034f8.tar.gz zsh-f7519811e1bbe990ff1c3d499ffb70cfc2d034f8.tar.xz zsh-f7519811e1bbe990ff1c3d499ffb70cfc2d034f8.zip |
47201: fix 42355 for multiple backslashes
Diffstat (limited to 'Test/A04redirect.ztst')
-rw-r--r-- | Test/A04redirect.ztst | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Test/A04redirect.ztst b/Test/A04redirect.ztst index b5b65cf5d..1e17dddd4 100644 --- a/Test/A04redirect.ztst +++ b/Test/A04redirect.ztst @@ -176,6 +176,30 @@ >tab\stripping >Last line + heretest() { + print First line + cat <<-HERE + $foo\\ + $foo + some\\ \ + stuff + to\ + test \\ + more backslash craziness\\\\\\\\\ + wild + HERE + print Last line + } + heretest +0:No line continuation in here-document on escaped backslash +>First line +>bar\ +>bar +>some\ stuff +>to test \ +>more backslash craziness\\\\ wild +>Last line + # # exec tests: perform these in subshells so if they fail the # shell won't exit. |