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