diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2013-02-17 23:16:56 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2013-02-17 23:16:56 +0000 |
commit | d0990771752002004c036b5ce8c700823e0c7dcf (patch) | |
tree | d3ef90f6c4bf8d6cacda83b32c52864ff12fedbe /regress/usr.bin/ssh | |
parent | 67b534c9306d0746c186a04c3f50c71548ad614a (diff) |
make the ssh command generates some output to ensure that there are at
least offset+tries bytes in the stream.
Diffstat (limited to 'regress/usr.bin/ssh')
-rw-r--r-- | regress/usr.bin/ssh/integrity.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.bin/ssh/integrity.sh b/regress/usr.bin/ssh/integrity.sh index 7127a9a9baa..a330d6929c9 100644 --- a/regress/usr.bin/ssh/integrity.sh +++ b/regress/usr.bin/ssh/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" @@ -40,7 +40,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 |