diff options
| author | Peter Stephenson <pws@zsh.org> | 2014-10-02 16:15:10 +0100 |
|---|---|---|
| committer | Peter Stephenson <pws@zsh.org> | 2014-10-02 16:15:10 +0100 |
| commit | f16813792ecefce25f0cd19ad2806eb229b0799f (patch) | |
| tree | 59b52dcf9f6d2a9a90edf250e1ef5a6a28a95dfc /Test/A05execution.ztst | |
| parent | 33315: fix pattern to match freebsd10 and later (diff) | |
| download | zsh-f16813792ecefce25f0cd19ad2806eb229b0799f.tar zsh-f16813792ecefce25f0cd19ad2806eb229b0799f.tar.gz zsh-f16813792ecefce25f0cd19ad2806eb229b0799f.tar.bz2 zsh-f16813792ecefce25f0cd19ad2806eb229b0799f.tar.lz zsh-f16813792ecefce25f0cd19ad2806eb229b0799f.tar.xz zsh-f16813792ecefce25f0cd19ad2806eb229b0799f.tar.zst zsh-f16813792ecefce25f0cd19ad2806eb229b0799f.zip | |
33325: fix ksh autoloads with redirections on function definitions
Diffstat (limited to 'Test/A05execution.ztst')
| -rw-r--r-- | Test/A05execution.ztst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Test/A05execution.ztst b/Test/A05execution.ztst index df6d7bc06..8d256ff84 100644 --- a/Test/A05execution.ztst +++ b/Test/A05execution.ztst @@ -216,3 +216,16 @@ F:This similar test was triggering a reproducible failure with pipestatus. >done F:This test checks for a file descriptor leak that could cause the left F:side of a pipe to block on write after the right side has exited + + print "autoload_redir() { print Autoloaded ksh style; } >autoload.log" >autoload_redir + autoload -Uk autoload_redir + autoload_redir + print No output yet + cat autoload.log + functions autoload_redir +0: +>No output yet +>Autoloaded ksh style +>autoload_redir () { +> print Autoloaded ksh style +>} > autoload.log |
