From a2a444ced221cf8b86088d7dd19c5959496c4774 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Wed, 8 Aug 2007 06:52:28 +0000 Subject: [PATCH] look futher back in the logfile. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21841 ec53bebd-3082-4978-b11e-865c3cabbd6b --- tests/kdc/wait-kdc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/kdc/wait-kdc.sh b/tests/kdc/wait-kdc.sh index 96ce267e7..fcdf4af54 100644 --- a/tests/kdc/wait-kdc.sh +++ b/tests/kdc/wait-kdc.sh @@ -46,10 +46,10 @@ while true ; do t=`expr ${t} + 2` sleep 2 echo "Have waited $t seconds" - if tail -3 ${log} | grep "${name} started" > /dev/null; then + if tail -30 ${log} | grep "${name} started" > /dev/null; then break fi - if tail -3 ${log} | grep "No sockets" ; then + if tail -30 ${log} | grep "No sockets" ; then echo "The ${name} failed to bind to any sockets, another ${name} running ?" exit 1 fi