diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | regress/integrity.sh | 4 |
2 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,10 @@ | |||
1 | 20130217 | ||
2 | - OpenBSD CVS Sync | ||
3 | - djm@cvs.openbsd.org 2013/02/17 23:16:55 | ||
4 | [integrity.sh] | ||
5 | make the ssh command generates some output to ensure that there are at | ||
6 | least offset+tries bytes in the stream. | ||
7 | |||
1 | 20130216 | 8 | 20130216 |
2 | - OpenBSD CVS Sync | 9 | - OpenBSD CVS Sync |
3 | - djm@cvs.openbsd.org 2013/02/16 06:08:45 | 10 | - djm@cvs.openbsd.org 2013/02/16 06:08:45 |
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 | ||
4 | tid="integrity" | 4 | tid="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 |