diff options
author | Martijn Dekker <martijn@inlv.org> | 2018-03-26 22:32:50 +0200 |
---|---|---|
committer | Peter Stephenson <p.stephenson@samsung.com> | 2018-03-27 09:32:55 +0100 |
commit | fa0105f78c9204d72cb0cd68c20d5f390b2a044b (patch) | |
tree | be4d7a30783b01099593e6a645846465394252e0 /Test | |
parent | 9bc391105ffc9a430668373388badd369e314415 (diff) | |
download | zsh-fa0105f78c9204d72cb0cd68c20d5f390b2a044b.tar.gz zsh-fa0105f78c9204d72cb0cd68c20d5f390b2a044b.tar.xz zsh-fa0105f78c9204d72cb0cd68c20d5f390b2a044b.zip |
42538: Temporarily set umask for here document.
Done while signals are queued.
Diffstat (limited to 'Test')
-rw-r--r-- | Test/A04redirect.ztst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Test/A04redirect.ztst b/Test/A04redirect.ztst index ef7ddb25a..b5b65cf5d 100644 --- a/Test/A04redirect.ztst +++ b/Test/A04redirect.ztst @@ -667,3 +667,12 @@ 0:Redirect in the middle of assignments >b >d + + umask 0777 + cat <<' HERE' + look ma, no permissions + HERE + cat <<<"it's a miracle" +0:Here-{string,document}s succeed with restrictive umask +> look ma, no permissions +>it's a miracle |