]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - crypto/openssh/regress/broken-pipe.sh
Merge libc++ trunk r366426, resolve conflicts, and add FREEBSD-Xlist.
[FreeBSD/FreeBSD.git] / crypto / openssh / regress / broken-pipe.sh
1 #       $OpenBSD: broken-pipe.sh,v 1.6 2017/04/30 23:34:55 djm Exp $
2 #       Placed in the Public Domain.
3
4 tid="broken pipe test"
5
6 for i in 1 2 3 4; do
7         ${SSH} -F $OBJ/ssh_config_config nexthost echo $i 2> /dev/null | true
8         r=$?
9         if [ $r -ne 0 ]; then
10                 fail "broken pipe returns $r"
11         fi
12 done