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

Re: svnsync mirroring autocheck

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Fri, 20 Nov 2009 15:02:00 +0000

On Wed, 2009-11-18 at 23:36 +0200, Daniel Shahaf wrote:
> Dave Brown wrote on Wed, 18 Nov 2009 at 10:42 -0800:
> > Julian Foad wrote:
> > > Cool. It would be good to separate the test code from the
> > > infrastructure, of course, but that's not essential at first.
> >
> > That's the right thing to do - this script to stage/start/stop the
> > mirroring setup, and a test script for test cases like 2939, and
> > anything else interesting to run through mirroring.
>
> +1. It took me quite a while to figure out how to run httpd outside
> 'make davautocheck' in order to do manual testing. (In the end stsp
> sent me the 15-line httpd.conf file he used.)

I have now tried Dave's dav-mirror-autocheck.sh and it works for me.

I needed to give the absolute path to the Subversion build directory for
its "subversion source tree" argument. (I build Subversion in a
directory outside the source tree.)

$ (cd obj-dir &&
~/src/subversion-a/subversion/tests/cmdline/dav-mirror-autocheck.sh
~/build/subversion-a
~/build/subversion-a/subversion/tests/cmdline/dav-mirror-work)

In its "make check" line I added "CLEANUP=1" (because I run with a small
RAM disk mounted on the svn-test-work directory).

- Julian

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2420857
Received on 2009-11-20 16:02:23 CET

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