summaryrefslogtreecommitdiffstats
path: root/tools/regression/bin/sh/execution/redir2.0
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/bin/sh/execution/redir2.0')
-rw-r--r--tools/regression/bin/sh/execution/redir2.04
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/regression/bin/sh/execution/redir2.0 b/tools/regression/bin/sh/execution/redir2.0
index 079ee82..6976624 100644
--- a/tools/regression/bin/sh/execution/redir2.0
+++ b/tools/regression/bin/sh/execution/redir2.0
@@ -1,5 +1,5 @@
# $FreeBSD$
-trap ': $((brokenpipe+=1))' pipe
+trap ': $((brokenpipe+=1))' PIPE
P=${TMPDIR:-/tmp}
cd $P
@@ -17,7 +17,7 @@ mkfifo fifo1 fifo2
exec 4>fifo2
exec 3>fifo1
-echo dummy >&4
+echo dummy >&4 2>/dev/null
if [ $brokenpipe -eq 1 ]; then
: ${rc:=0}
fi
OpenPOWER on IntegriCloud