diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2013-10-23 22:45:02 -0700 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2013-10-23 22:45:02 -0700 |
commit | 65e131c838be6a300b41e3fa8259c281714e4918 (patch) | |
tree | e07c50ae29569b488928c6b9a6b8de6ca7dcf248 /Test | |
parent | 225ee4c810be2c996ff83e75f696cf196bbf30ea (diff) | |
download | zsh-65e131c838be6a300b41e3fa8259c281714e4918.tar.gz zsh-65e131c838be6a300b41e3fa8259c281714e4918.tar.xz zsh-65e131c838be6a300b41e3fa8259c281714e4918.zip |
31879 plus misc.: improve $pipestatus handling and add a test for it
Diffstat (limited to 'Test')
-rw-r--r-- | Test/A05execution.ztst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Test/A05execution.ztst b/Test/A05execution.ztst index b4fb8739a..c42e454f3 100644 --- a/Test/A05execution.ztst +++ b/Test/A05execution.ztst @@ -178,3 +178,14 @@ kill $! 0:Status reset by starting a backgrounded command >0 + + repeat 2048; do (: | : | while false; do + break + done; + print "${pipestatus[@]}") + ZTST_hashmark + done | sort | uniq -c +0:Check whether `$pipestatus[]' behaves. +> 2048 0 0 0 +F:This test checks for a bug in `$pipestatus[]' handling. If it breaks then +F:the bug is still there or it reappeared. See workers-29973 for details. |