building "master" under mock buildroot

Phil Mayers p.mayers at imperial.ac.uk
Fri Nov 16 12:11:36 CET 2012


On 11/16/2012 10:55 AM, Arran Cudbard-Bell wrote:

> Done. Yeah there were some pretty poor typos, looks like no one's
> actually tried to build that code in a while. We really need to get
> an automated build system setup again.
>
> Even if the server is almost completely devoid of unit tests and
> functional tests we can at least make sure the modules compile.

I was wondering about that recently. It doesn't seem so terribly hard to 
have a "tests/" directory containing some known-good server configs 
testing various functionality, and a shell script driving auth requests 
into it via radtest/eapol_test. Sort of like "make test" in ISC bind.

Unit tests - well, that might be trickier, I guess. Are there any decent 
C unittest frameworks?


More information about the Freeradius-Users mailing list