use wait-kdc.sh script

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18397 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-10-10 10:37:21 +00:00
parent 21de81841c
commit 1e4060149a
2 changed files with 6 additions and 6 deletions

View File

@@ -88,10 +88,10 @@ echo $password > ${objdir}/foopassword
echo Starting kdc
${kdc} &
kdcpid=$!
sleep 20
if tail -1 messages.log | grep "No sockets" ; then
echo "The KDC failed to bind to any sockets, another KDC running ?"
sh ${srcdir}/wait-kdc.sh
if [ "$?" != 0 ] ; then
kill ${kdcpid}
exit 1
fi

View File

@@ -129,10 +129,10 @@ echo foo > ${objdir}/foopassword
echo Starting kdc
${kdc} &
kdcpid=$!
sleep 20
if tail -1 messages.log | grep "No sockets" ; then
echo "The KDC failed to bind to any sockets, another KDC running ?"
sh ${srcdir}/wait-kdc.sh
if [ "$?" != 0 ] ; then
kill ${kdcpid}
exit 1
fi