[Pkg-zsh-commits] [zsh] 01/11: 32080: Suppress error output from nonessential setopt

Axel Beckert abe at deuxchevaux.org
Sun Dec 15 00:38:26 UTC 2013


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch upstream
in repository zsh.

commit 5a517e9cf4bee4b90bfa5155d23afc20b0b49733
Author: Barton E. Schaefer <schaefer at zsh.org>
Date:   Mon Dec 2 10:11:12 2013 -0800

    32080: Suppress error output from nonessential setopt
---
 ChangeLog              | 5 +++++
 Test/A05execution.ztst | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index f2736c7..faafade 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-12-02  Barton E. Schaefer  <schaefer at zsh.org>
+
+	* 32080: Test/A05execution.ztst: suppress any error output from
+	nonessential "setopt MONITOR"
+
 2013-12-01  Peter Stephenson  <p.w.stephenson at ntlworld.com>
 
 	* unposted: Config/version.mk: 5.0.2-test-3.
diff --git a/Test/A05execution.ztst b/Test/A05execution.ztst
index ba7e02c..61f6f5a 100644
--- a/Test/A05execution.ztst
+++ b/Test/A05execution.ztst
@@ -179,7 +179,7 @@
 0:Status reset by starting a backgrounded command
 >0
 
-  setopt MONITOR
+  { setopt MONITOR } 2>/dev/null
   [[ -o MONITOR ]] || print -u $ZTST_fd 'Unable to change MONITOR option'
   repeat 2048; do (return 2 |
                    return 1 |

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/zsh.git



More information about the Pkg-zsh-commits mailing list