summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2013-02-18 10:18:05 +1100
committerDamien Miller <djm@mindrot.org>2013-02-18 10:18:05 +1100
commit33d52566bc8e36091b74fbd532df1bc4d2368576 (patch)
treee3f8cf42bb46ac05920b24201b29696893d991c1 /regress
parent5d7b9565bc2cc2b0734a6e8b0b7ab781745d35f9 (diff)
downloadopenssh-git-33d52566bc8e36091b74fbd532df1bc4d2368576.tar.gz
- djm@cvs.openbsd.org 2013/02/17 23:16:55
[integrity.sh] make the ssh command generates some output to ensure that there are at least offset+tries bytes in the stream.
Diffstat (limited to 'regress')
-rw-r--r--regress/integrity.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/integrity.sh b/regress/integrity.sh
index d779aa93..4d104c14 100644
--- a/regress/integrity.sh
+++ b/regress/integrity.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: integrity.sh,v 1.3 2013/02/16 06:08:45 djm Exp $
+# $OpenBSD: integrity.sh,v 1.4 2013/02/17 23:16:55 djm Exp $
# Placed in the Public Domain.
tid="integrity"
@@ -46,7 +46,7 @@ for m in $macs; do
*) macopt="-m $m";;
esac
output=$(${SSH} $macopt -2F $OBJ/ssh_proxy -o "$pxy" \
- 999.999.999.999 true 2>&1)
+ 999.999.999.999 'printf "%2048s" " "' 2>&1)
if [ $? -eq 0 ]; then
fail "ssh -m $m succeeds with bit-flip at $off"
fi