summaryrefslogtreecommitdiff
path: root/tests/coproc.tests
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-12-07 09:28:04 -0500
committerChet Ramey <chet.ramey@case.edu>2011-12-07 09:28:04 -0500
commit40c8fbee93dca4d4d43a18d5fb3202fa2db2ae49 (patch)
tree1e95dede557ed763f8249bae04b3e2ccc90cd39e /tests/coproc.tests
parentdd4f3dd8935364148647fb83cf1f9c846e7393aa (diff)
downloadbash-40c8fbee93dca4d4d43a18d5fb3202fa2db2ae49.tar.gz
commit bash-20080828 snapshot
Diffstat (limited to 'tests/coproc.tests')
-rw-r--r--tests/coproc.tests2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/coproc.tests b/tests/coproc.tests
index 85ceff88..8be35634 100644
--- a/tests/coproc.tests
+++ b/tests/coproc.tests
@@ -32,7 +32,7 @@ read <&${COPROC[0]}
echo $REPLY
echo ${COPROC[@]}
-cat /etc/passwd | grep root | awk -F: '{print $1;}'
+cat /etc/passwd | grep root | awk -F: '{print $1;}' | sed 1q
exec 4<&${COPROC[0]}-
exec >&${COPROC[1]}-