[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Runtime 'make check' for Heimdal?



On Mon, 2005-08-15 at 10:07 +0200, Love Hörnquist Åstrand wrote:
> Andrew Bartlett <abartlet@samba.org> writes:
> 
> > Unless I'm missing something, we don't currently have a run-time check
> > in the Heimdal build system.  That is, something that gets a real
> > ticket, and checks the full codepaths for these common operations.
> 
> You are right, there is no such code today. I've been considering to write
> a tests for testing that running kinit against a kdc. This to be able to
> test diffrent versions of kinit/kdc.
> 
> But with the arrival of libkdc, I'm though that I might just add a new
> transport in krb5_sendto_kdc_flags & friends to allow linking kinit
> together with libkdc and instead of doing network traffic, just do function
> calls.

Which reminds me, I need a similar layer (I was envisaging a function
pointer system, like the logging code uses) to redirect the socket calls
to Samba's socket layer.  

> > Where does the code for the existing 'make check' live?  I'm having
> > trouble tracing the automake foo to the original source?
> 
> You should check for TESTS variables, those are the tests that are run in
> when calling 'make check'.

I'll chase this up.  Thanks for the pointer.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Samba Developer, SuSE Labs, Novell Inc.        http://suse.de
Authentication Developer, Samba Team           http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net

This is a digitally signed message part