summaryrefslogtreecommitdiffstats
path: root/Test/A05execution.ztst
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2013-10-23 22:45:02 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2013-10-23 22:45:02 -0700
commit65e131c838be6a300b41e3fa8259c281714e4918 (patch)
treee07c50ae29569b488928c6b9a6b8de6ca7dcf248 /Test/A05execution.ztst
parent31873: Document conventions for command options in builtins (diff)
downloadzsh-65e131c838be6a300b41e3fa8259c281714e4918.tar
zsh-65e131c838be6a300b41e3fa8259c281714e4918.tar.gz
zsh-65e131c838be6a300b41e3fa8259c281714e4918.tar.bz2
zsh-65e131c838be6a300b41e3fa8259c281714e4918.tar.lz
zsh-65e131c838be6a300b41e3fa8259c281714e4918.tar.xz
zsh-65e131c838be6a300b41e3fa8259c281714e4918.tar.zst
zsh-65e131c838be6a300b41e3fa8259c281714e4918.zip
31879 plus misc.: improve $pipestatus handling and add a test for it
Diffstat (limited to 'Test/A05execution.ztst')
-rw-r--r--Test/A05execution.ztst11
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.