about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-09-10 09:20:38 +0100
committerPeter Stephenson <pws@zsh.org>2015-09-10 09:20:38 +0100
commitca9fdda4088c7e6ff8cccdf59bbe770fe8e739da (patch)
tree5f13c515dd6e9778575d4b1386f1dafa935fbd27
parent45e67c35529a27c2d228c616e5bafad2164e9bd6 (diff)
downloadzsh-ca9fdda4088c7e6ff8cccdf59bbe770fe8e739da.tar.gz
zsh-ca9fdda4088c7e6ff8cccdf59bbe770fe8e739da.tar.xz
zsh-ca9fdda4088c7e6ff8cccdf59bbe770fe8e739da.zip
36460: Discard benign error when no one is reading from pipe
-rw-r--r--ChangeLog5
-rw-r--r--Test/E01options.ztst2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bed312c3d..b9bb8a575 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-09-10  Peter Stephenson  <p.stephenson@samsung.com>
+
+	* 36460: Test/E01options.ztst: Discard benign error on failure
+	to write to pipe with no one reading.
+
 2015-09-08  Oliver Kiddle  <opk@zsh.org>
 
 	36422: Src/compat.c: add missing unmeta()
diff --git a/Test/E01options.ztst b/Test/E01options.ztst
index 16279b88a..2b91b21fa 100644
--- a/Test/E01options.ztst
+++ b/Test/E01options.ztst
@@ -995,7 +995,7 @@
   print this is bar >bar
   fn() {
     local NULLCMD=cat READNULLCMD=cat
-    echo hello | >foo
+    { echo hello | >foo } 2>/dev/null
     cat foo
     <bar
   }