[PATCH] Portability improvements for regress/cipher-speed.sh

Darren Tucker dtucker at zip.com.au
Tue Mar 12 10:20:15 EST 2013


On Mon, Mar 11, 2013 at 11:33:35AM -0700, Iain Morgan wrote:
> Hi,
> 
> Although cipher-speed.sh isn't failing, its output is useless on some
> platforms. Aside from the definition of $DATA noted in a previous post
> to this list, it makes assumptions about dd's status message and the
> behaviour of echo.
> 
> The patch below addresses these issue, at least on RHEL.

The patch makes assumptions about the existence of /dev/zero :-)
I'd rather have test-exec.sh create (and cleanup) $DATA in one place,
maybe by concatenating sshd$(EXEEXT) a few times.

Also, why the echon->printf changes?

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list