summaryrefslogtreecommitdiff
path: root/regress/usr.bin/ssh
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@cvs.openbsd.org>2016-03-03 00:46:54 +0000
committerDarren Tucker <dtucker@cvs.openbsd.org>2016-03-03 00:46:54 +0000
commit168c329b397f91cdc23b13255ee8dc602db49813 (patch)
tree19c80f36a3238ce1b251caccaaa3c1d1934ed3b3 /regress/usr.bin/ssh
parent9d5b6e871289e7f670ffe02e55bab63af006c21a (diff)
Look back 3 lines for possible error messages. Changes to the code mean
that "Bad packet length" errors are 3 lines back instead of the previous two, which meant we didn't skip some offsets that we intended to.
Diffstat (limited to 'regress/usr.bin/ssh')
-rw-r--r--regress/usr.bin/ssh/integrity.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.bin/ssh/integrity.sh b/regress/usr.bin/ssh/integrity.sh
index 423ef762cbf..36090999afb 100644
--- a/regress/usr.bin/ssh/integrity.sh
+++ b/regress/usr.bin/ssh/integrity.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: integrity.sh,v 1.16 2015/03/24 20:22:17 markus Exp $
+# $OpenBSD: integrity.sh,v 1.17 2016/03/03 00:46:53 dtucker Exp $
# Placed in the Public Domain.
tid="integrity"
@@ -48,7 +48,7 @@ for m in $macs; do
fail "ssh -m $m succeeds with bit-flip at $off"
fi
ecnt=$((ecnt+1))
- out=$(tail -2 $TEST_SSH_LOGFILE | egrep -v "^debug" | \
+ out=$(tail -3 $TEST_SSH_LOGFILE | egrep -v "^debug" | \
tr -s '\r\n' '.')
case "$out" in
Bad?packet*) elen=$((elen+1)); skip=2;;