From 6b1f8a3cf50a1a384e223f060d7159a012893a10 Mon Sep 17 00:00:00 2001 From: Tim Rice Date: Wed, 15 Oct 2003 09:22:39 -0700 Subject: [PATCH] [regress/banner.sh] portability fix. --- ChangeLog | 3 ++- regress/banner.sh | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 699402a79..a7082b412 100644 --- a/ChangeLog +++ b/ChangeLog @@ -43,6 +43,7 @@ openbsd-compat/getrrsetbyname.h] DNS fingerprint support is now always compiled in but disabled in config. - (dtucker) [auth.c] Check for disabled password expiry on HP-UX Trusted Mode. + - (tim) [regress/banner.sh] portability fix. 20031009 - (dtucker) [sshd_config.5] UsePAM defaults to "no". ok djm@ @@ -1360,4 +1361,4 @@ - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. Report from murple@murple.net, diagnosis from dtucker@zip.com.au -$Id: ChangeLog,v 1.3081 2003/10/15 07:48:20 dtucker Exp $ +$Id: ChangeLog,v 1.3082 2003/10/15 16:22:39 tim Exp $ diff --git a/regress/banner.sh b/regress/banner.sh index 03e2fc8f1..0f6a68dff 100644 --- a/regress/banner.sh +++ b/regress/banner.sh @@ -23,9 +23,7 @@ for s in 0 10 100 1000 10000 100000 ; do trace "test banner size $s" verbose "test $tid: size $s" ${SSH} -2 -F $OBJ/ssh_proxy otherhost true 2>$OBJ/banner.out - if ! cmp $OBJ/banner.in $OBJ/banner.out ; then - fail "banner size $s mismatch" - fi + cmp $OBJ/banner.in $OBJ/banner.out || fail "banner size $s mismatch" done rm -f $OBJ/banner.out $OBJ/banner.in