summaryrefslogtreecommitdiffstats
path: root/Test/A05execution.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2014-10-26 21:24:23 +0000
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2014-10-26 21:24:23 +0000
commit0412c0baaa8aab99dc59913614f42471091712b0 (patch)
treee8ff7ff8b7ff81d0aa45d2dc625a303833655aef /Test/A05execution.ztst
parent33542: test logic for waiting for already exited processes (diff)
downloadzsh-0412c0baaa8aab99dc59913614f42471091712b0.tar
zsh-0412c0baaa8aab99dc59913614f42471091712b0.tar.gz
zsh-0412c0baaa8aab99dc59913614f42471091712b0.tar.bz2
zsh-0412c0baaa8aab99dc59913614f42471091712b0.tar.lz
zsh-0412c0baaa8aab99dc59913614f42471091712b0.tar.xz
zsh-0412c0baaa8aab99dc59913614f42471091712b0.tar.zst
zsh-0412c0baaa8aab99dc59913614f42471091712b0.zip
33564: care with monitor option in test
Diffstat (limited to 'Test/A05execution.ztst')
-rw-r--r--Test/A05execution.ztst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/A05execution.ztst b/Test/A05execution.ztst
index 589815f7c..042b2d0a5 100644
--- a/Test/A05execution.ztst
+++ b/Test/A05execution.ztst
@@ -254,7 +254,7 @@ F:anonymous function, and a descriptor leak when backgrounding a pipeline
# other words, we rely on the test working repeatedly rather than just
# once. The monitor option is irrelevant to the logic, so we'll make
# our job easier by turning it off.
- unsetopt monitor
+ { unsetopt MONITOR } 2>/dev/null
(exit 1) &
one=$!
(exit 2) &