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

svnsync mirroring autocheck

From: Dave Brown <dave.brown_at_wandisco.com>
Date: Mon, 16 Nov 2009 15:44:19 -0800

Attached is a script to do setup/teardown of httpd for testing svnsync
mirroring. I started manually making sure that issue 2939 didn't come
back with 1.7, but davautocheck.sh inspired me to automate it. The
happy news is that 2939 has not come back in trunk or 1.6.6, and it
reproduces the bug on 1.5.1, where originally reported.

I think this would be a good addition to the tests somehow, as AFAIK
mirroring through SVNMasterURI in httpd has no automated testing. The
script currently tests only 2939, but can be the basis for testing all
kinds of changes over mirroring.

If people agree that it would be a good test to add, I'll propose a
proper patch. (It needs a bit more polish to fit the test cmdline
interface as defined in subversion/tests/README). Also, is there a
problem with relying on svnmucc?

The script currently takes two arguments: your working copy of the code
to test, and a test-work directory. (It would figure these out if it
lived below tests/...) It ought to work everywhere davautocheck.sh
works, but I've tested on unbuntu and centos. And it will complain if
svnmucc isn't built in your wc. See the comments at the top of the
script for more details.

-dave

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2418717

Received on 2009-11-17 00:44:34 CET

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