[Freeipa-devel] [PATCH] 101 Fix invalid issuer in unit tests

Martin Kosek mkosek at redhat.com
Thu Jul 28 14:41:50 UTC 2011


On Wed, 2011-07-27 at 16:17 +0200, Martin Kosek wrote:
> On Wed, 2011-07-27 at 10:10 -0400, Rob Crittenden wrote:
> > Martin Kosek wrote:
> > > Fix several test failures when issuer does not match the one
> > > generated by make-testcert (CN=Certificate Authority,O=<realm>).
> > >
> > > https://fedorahosted.org/freeipa/ticket/1527
> > >
> > 
> > What kind of CA are you testing against? Right now the subject of the 
> > issue differs whether you are installing a dogtag CA or a self-signed 
> > CA. I think that unifying those will be needed as well.
> > 
> > rob
> 
> That was tested against dogtag CA. We indeed need to unify this so that
> people are not confused by errors like this.
> 
> Martin
> 

I improved the tests by creating a new fuzzy attribute - fuzzy_issuer
which will allow both issuer alternatives. It should now pass on both
self-signed and dogtag IPA.

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mkosek-101-2-fix-invalid-issuer-in-unit-tests.patch
Type: text/x-patch
Size: 5396 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110728/bc82aa68/attachment.bin>


More information about the Freeipa-devel mailing list