summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authordtucker <dtucker>2005-11-28 05:41:03 +0000
committerdtucker <dtucker>2005-11-28 05:41:03 +0000
commit565cc4350be7dcfde2acd8ad1efb2f7a2c13d702 (patch)
treea7a8c02aff00c62ab276cbddd351def144c1476a /regress
parentbfb59234863c4b9993e1494b33f1bbb3834003e3 (diff)
downloadopenssh-565cc4350be7dcfde2acd8ad1efb2f7a2c13d702.tar.gz
- (dtucker) [regress/yes-head.sh] Work around breakage caused by some
versions of GNU head. Based on patch from zappaman at buraphalinux.org
Diffstat (limited to 'regress')
-rw-r--r--regress/yes-head.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/yes-head.sh b/regress/yes-head.sh
index 17a4d0dd..a8e6bc80 100644
--- a/regress/yes-head.sh
+++ b/regress/yes-head.sh
@@ -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;