Add check to verify the windc module as loaded.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19806 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -85,6 +85,9 @@ ${kadmin} check ${R2} || exit 1
|
|||||||
|
|
||||||
echo foo > ${objdir}/foopassword
|
echo foo > ${objdir}/foopassword
|
||||||
|
|
||||||
|
echo "Empty log"
|
||||||
|
> messages.log
|
||||||
|
|
||||||
echo Starting kdc
|
echo Starting kdc
|
||||||
${kdc} &
|
${kdc} &
|
||||||
kdcpid=$!
|
kdcpid=$!
|
||||||
@@ -99,6 +102,10 @@ trap "kill ${kdcpid}; echo signal killing kdc; exit 1;" EXIT
|
|||||||
|
|
||||||
ec=0
|
ec=0
|
||||||
|
|
||||||
|
echo "Check that WINDC module was loaded "
|
||||||
|
grep "windc init" messages.log >/dev/null || \
|
||||||
|
{ ec=1 ; eval "${testfailed}"; }
|
||||||
|
|
||||||
echo "Getting client initial tickets"; > messages.log
|
echo "Getting client initial tickets"; > messages.log
|
||||||
${kinit} --password-file=${objdir}/foopassword foo@${R} || \
|
${kinit} --password-file=${objdir}/foopassword foo@${R} || \
|
||||||
{ ec=1 ; eval "${testfailed}"; }
|
{ ec=1 ; eval "${testfailed}"; }
|
||||||
|
Reference in New Issue
Block a user