summary refs log tree commit diff
path: root/Test
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 /Test
parent45e67c35529a27c2d228c616e5bafad2164e9bd6 (diff)
downloadzsh-ca9fdda4088c7e6ff8cccdf59bbe770fe8e739da.tar.gz
zsh-ca9fdda4088c7e6ff8cccdf59bbe770fe8e739da.tar.xz
zsh-ca9fdda4088c7e6ff8cccdf59bbe770fe8e739da.zip
36460: Discard benign error when no one is reading from pipe
Diffstat (limited to 'Test')
-rw-r--r--Test/E01options.ztst2
1 files changed, 1 insertions, 1 deletions
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
   }