From 0571f5c7455304bdbba76945637911b07c6f1f5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Tue, 25 Apr 2006 16:15:41 +0000 Subject: [PATCH] Try to detect another KDC running. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17241 ec53bebd-3082-4978-b11e-865c3cabbd6b --- tests/kdc/check-kdc.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/kdc/check-kdc.in b/tests/kdc/check-kdc.in index 1209be42e..43d1fddc5 100644 --- a/tests/kdc/check-kdc.in +++ b/tests/kdc/check-kdc.in @@ -91,6 +91,11 @@ ${kdc} & kdcpid=$! sleep 2 +if tail -1 messages.log | grep "No sockets" ; then + echo "The KDC failed to bind to any sockets, another KDC running ?" + exit 1 +fi + exitcode=0 echo "Getting client initial tickets"