summaryrefslogtreecommitdiff
path: root/regress/usr.bin/ssh/broken-pipe.sh
blob: ccbfee259a4d4ec37fed4b9a1d33952bf0ef65e5 (plain)
1
2
3
4
5
6
7
8
9
tid="broken pipe test"

for i in 1 2 3 4; do
        ssh -2 -F $OBJ/ssh_config nexthost echo $i | true
	r=$?
	if [ $r -ne 0 ]; then
		fail "broken pipe returns $r"
	fi
done