[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Can "make check" automatically accept a server certificate?

From: Sigfred Håversen <bsdlist_at_mumak.com>
Date: 2004-10-18 19:00:12 CEST

On Monday 18 October 2004 16.59, Ben Collins-Sussman wrote:
> On Oct 16, 2004, at 8:40 PM, Sigfred Håversen wrote:
> > Is there a way to have "make check" automatically accept/reject a
> > server certificate temporarily?
>
> Sure, just set the appropriate variables in ~/.subversion/servers. I
> believe that 'make check' uses its own runtime area.
>
> By the way, if you're really writing a whole new server-daemon, maybe
> you'd want to discuss it with the list? Explain the design, and so on?
> That's a pretty big deal.

It's just a SSL layer to svnserve, not a new deamon.

After a little hacking in main.py and autoprop_tests.py, all the test are
passing. The hack is just to set the config-dir to a specified directory.
Just before running "make check", I use "svn ls svn://localhost" to
permanently accept the certificate.

I wrote to shell scripts to facilitate testing. One that automatically
genererates a self-signed certificate used by svnserve before starting the
test. And another one that uses the "svn ls" hack before "make check".

This is a hack that should disappear, of course.

I was planning to send a patch tonight for comments.

/Sigfred

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 18 19:00:36 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.