summaryrefslogtreecommitdiffstats
path: root/Test/A05execution.ztst
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2013-10-26 16:11:40 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2013-10-26 16:11:40 -0700
commitc3114a7735c85b79771e08bd156470bde1a36950 (patch)
treed0790ac680b930ffee6fbef2c6613959fdfd97ae /Test/A05execution.ztst
parent31890 + 31891: Add NEWS for new features since 5.0.2 (diff)
downloadzsh-c3114a7735c85b79771e08bd156470bde1a36950.tar
zsh-c3114a7735c85b79771e08bd156470bde1a36950.tar.gz
zsh-c3114a7735c85b79771e08bd156470bde1a36950.tar.bz2
zsh-c3114a7735c85b79771e08bd156470bde1a36950.tar.lz
zsh-c3114a7735c85b79771e08bd156470bde1a36950.tar.xz
zsh-c3114a7735c85b79771e08bd156470bde1a36950.tar.zst
zsh-c3114a7735c85b79771e08bd156470bde1a36950.zip
31906: fix race-condition interaction of $pipestatus with job control
printjob() should not reference oldjobtab for job numbers unless it is being called from bin_fg(). printjob() also must not attempt to update pipestats when called from bin_fg(). acquire_pgrp() should not loop infintely if the shell is not interactive. Update the $pipestatus stress test so that it also exercises the oldjobtab repair.
Diffstat (limited to 'Test/A05execution.ztst')
-rw-r--r--Test/A05execution.ztst10
1 files changed, 8 insertions, 2 deletions
diff --git a/Test/A05execution.ztst b/Test/A05execution.ztst
index 8578016ab..ba7e02cd5 100644
--- a/Test/A05execution.ztst
+++ b/Test/A05execution.ztst