]> andersk Git - gssapi-openssh.git/blobdiff - openssh/regress/yes-head.sh
Import of OpenSSH 3.7p1
[gssapi-openssh.git] / openssh / regress / yes-head.sh
index f213f6863ca783dc65aad83fbe8801367dfe4e80..17a4d0dd468547fccbfe679cdd9a90b182c04ada 100644 (file)
@@ -4,7 +4,7 @@
 tid="yes pipe head"
 
 for p in 1 2; do
-       lines=`${SSH} -$p -F $OBJ/ssh_proxy thishost 'yes | head -2000' | (sleep 3 ; wc -l)`
+       lines=`${SSH} -$p -F $OBJ/ssh_proxy thishost 'sh -c "while true;do echo yes;done | head -2000"' | (sleep 3 ; wc -l)`
        if [ $? -ne 0 ]; then
                fail "yes|head test failed"
                lines = 0;
This page took 0.896513 seconds and 4 git commands to generate.