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:
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user