From acacced70b3fd520ee3f12d3f477f9fd7c2f687a Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Fri, 20 May 2011 19:08:40 +1000 Subject: - dtucker@cvs.openbsd.org 2011/05/20 06:32:30 [dynamic-forward.sh] fix dumb error in dynamic-forward test --- ChangeLog | 3 +++ regress/dynamic-forward.sh | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d5d5df3fa..1aac69cbc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -41,6 +41,9 @@ - dtucker@cvs.openbsd.org 2011/05/20 05:19:50 [dynamic-forward.sh] Prevent races in dynamic forwarding test; ok djm + - dtucker@cvs.openbsd.org 2011/05/20 06:32:30 + [dynamic-forward.sh] + fix dumb error in dynamic-forward test 20110515 - (djm) OpenBSD CVS Sync diff --git a/regress/dynamic-forward.sh b/regress/dynamic-forward.sh index 12ddef3a5..d6df4491a 100644 --- a/regress/dynamic-forward.sh +++ b/regress/dynamic-forward.sh @@ -1,4 +1,4 @@ -# $OpenBSD: dynamic-forward.sh,v 1.5 2011/05/20 05:19:50 dtucker Exp $ +# $OpenBSD: dynamic-forward.sh,v 1.6 2011/05/20 06:32:30 dtucker Exp $ # Placed in the Public Domain. tid="dynamic forwarding" @@ -31,7 +31,7 @@ for p in 1 2; do while test ! -f $OBJ/remote_pid; do sleep 1 n=`expr $n + 1` - if test $n > 60; then + if test $n -gt 60; then kill $client_pid fail "Timed out waiting for client to connect" fi -- cgit v1.2.3