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

Re: [PATCH] Support regex in EXPECTED ERR list

From: Stefan Fuhrmann <stefan.fuhrmann_at_wandisco.com>
Date: Wed, 23 Jan 2013 09:15:02 +0100

On Wed, Jan 23, 2013 at 8:38 AM, Prabhu Gnana Sundar <prabhugs_at_collab.net>wrote:

> Hi,
>
> Just while writing test cases for the svnadmin verify --keep-going feature
> I realized that we do not support regex in the EXPECTED ERR list and felt
> that it would be really helpful if we supported. So I came up with this
> patch.
>
> This patch would support regex in the entries of the EXPECTED ERR list.
>
> Example:
> ------------
>
> Expected err = ["* Verified revision 1.",
> "* Error verifying revision 2.",
> ".*svnadmin: E160004*",
> "* Verified revision 3.",
> ".*svnadmin: E165005*"]
>
> Actual err = ["* Verified revision 1.",
> "* Error verifying revision 2.",
> "svnadmin: E160004: Invalid change kind in rev file",
> "* Verified revision 3.",
> "svnadmin: E165005: Repository 'svn-test-work/repositories/
> **svnadmin_tests-32' failed to verify"]
>

Hi Prabhu,

Just to keep you in the loop: I changed the output of
svnadmin verify on /trunk (along with the *__verify
functions of FSFS). You may want to take a look at
r1435746 before you merge from or to /trunk.

-- Stefan^2.

-- 
Certified & Supported Apache Subversion Downloads:
*
http://www.wandisco.com/subversion/download
*
Received on 2013-01-23 09:15:37 CET

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.