From 1e9aabbe3d2711678774f18284bf7398527975f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Wed, 10 Jan 2007 19:02:24 +0000 Subject: [PATCH] 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 --- tests/plugin/check-pac.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/plugin/check-pac.in b/tests/plugin/check-pac.in index aaa2fb01f..a501a1668 100644 --- a/tests/plugin/check-pac.in +++ b/tests/plugin/check-pac.in @@ -85,6 +85,9 @@ ${kadmin} check ${R2} || exit 1 echo foo > ${objdir}/foopassword +echo "Empty log" +> messages.log + echo Starting kdc ${kdc} & kdcpid=$! @@ -99,6 +102,10 @@ trap "kill ${kdcpid}; echo signal killing kdc; exit 1;" EXIT 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 ${kinit} --password-file=${objdir}/foopassword foo@${R} || \ { ec=1 ; eval "${testfailed}"; }