Problems creating a Kerberos test (sw_gethostbyname?)

simo idra at samba.org
Wed Feb 15 04:38:20 GMT 2006


On Wed, 2006-02-15 at 13:25 +1100, Andrew Bartlett wrote:
> On Wed, 2006-02-15 at 13:16 +1100, tridge at samba.org wrote:
> > Andrew,
> > 
> >  > I was talking with Jay Fenlason (RedHat maintainer) about testing, and
> >  > he has a problem that he wants to run testsuites for QA, but that these
> >  > tests must be done on the production binaries (a standard requirement at
> >  > RedHat apparently).
> >  > 
> >  > Is it possible for the socketwrapper code to be used as an LD_PRELOAD,
> >  > to allow this kind of 'final binary' testing (of the built RPMS)?  I
> >  > realise as soon as you add/remove LD_PRELOAD you invalidate some of the
> >  > testing, but I wonder if there were any other barriers to this approach?
> > 
> > socketwrapper is already designed so you can run it in production, and
> > it enables itself only when an environment variable is set. 
> 
> Sure, but if you were RedHat (or any other vendor) would you ship binary
> RPMs with this enabled?

I wouldn't, but then I would not even test with socket wrapper, I'd test
in a real environment if possible, so that things can be tested on a
real network.

Simo.

-- 
Simo Sorce
Samba Team
email: idra at samba.org
http://samba.org/~idra



More information about the samba-technical mailing list