summaryrefslogtreecommitdiff
path: root/regress/integrity.sh
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/integrity.sh
parent5d7b9565bc2cc2b0734a6e8b0b7ab781745d35f9 (diff)
- 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/integrity.sh')
-rw-r--r--regress/integrity.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/integrity.sh b/regress/integrity.sh
index d779aa930..4d104c145 100644
--- a/regress/integrity.sh
+++ b/regress/integrity.sh
@@ -1,4 +1,4 @@
1# $OpenBSD: integrity.sh,v 1.3 2013/02/16 06:08:45 djm Exp $ 1# $OpenBSD: integrity.sh,v 1.4 2013/02/17 23:16:55 djm Exp $
2# Placed in the Public Domain. 2# Placed in the Public Domain.
3 3
4tid="integrity" 4tid="integrity"
@@ -46,7 +46,7 @@ for m in $macs; do
46 *) macopt="-m $m";; 46 *) macopt="-m $m";;
47 esac 47 esac
48 output=$(${SSH} $macopt -2F $OBJ/ssh_proxy -o "$pxy" \ 48 output=$(${SSH} $macopt -2F $OBJ/ssh_proxy -o "$pxy" \
49 999.999.999.999 true 2>&1) 49 999.999.999.999 'printf "%2048s" " "' 2>&1)
50 if [ $? -eq 0 ]; then 50 if [ $? -eq 0 ]; then
51 fail "ssh -m $m succeeds with bit-flip at $off" 51 fail "ssh -m $m succeeds with bit-flip at $off"
52 fi 52 fi