View | Details | Raw Unified | Return to bug 912 | Differences between
and this patch

Collapse All | Expand All

(-)regress/yes-head.sh.orig (-1 / +1 lines)
Lines 4-10 Link Here
4
tid="yes pipe head"
4
tid="yes pipe head"
5
5
6
for p in 1 2; do
6
for p in 1 2; do
7
	lines=`${SSH} -$p -F $OBJ/ssh_proxy thishost 'sh -c "while true;do echo yes;done | head -2000"' | (sleep 3 ; wc -l)`
7
	lines=`${SSH} -$p -F $OBJ/ssh_proxy thishost 'sh -c "while true;do echo yes;done | head -n 2000"' | (sleep 3 ; wc -l)`
8
	if [ $? -ne 0 ]; then
8
	if [ $? -ne 0 ]; then
9
		fail "yes|head test failed"
9
		fail "yes|head test failed"
10
		lines = 0;
10
		lines = 0;

Return to bug 912