1139969Simp# $OpenBSD: broken-pipe.sh,v 1.6 2017/04/30 23:34:55 djm Exp $ 2139969Simp# Placed in the Public Domain. 3139969Simp 41556Srgrimestid="broken pipe test" 51556Srgrimes 61556Srgrimesfor i in 1 2 3 4; do 71556Srgrimes ${SSH} -F $OBJ/ssh_config_config nexthost echo $i 2> /dev/null | true 81556Srgrimes r=$? 91556Srgrimes if [ $r -ne 0 ]; then 101556Srgrimes fail "broken pipe returns $r" 111556Srgrimes fi 121556Srgrimesdone 131556Srgrimes