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

[PATCH] Testsuite failures against remote repositoty, normalize url if options are already set

From: Jens Peters <jp7677_at_gmail.com>
Date: Sun, 26 Feb 2012 10:50:10 +0100

Hello there,

I got quite a lot of test failures when running the subversion test
suite (on windows) against a remote repository like svn://localhost/.
After some investigation it tuns out that the test suite adds an extra
'/' when combining the url with the test area location. So the url
looked like svn://localhost//svn-work.. The tests do run fine, but
obviously fails where the url gets compared with the url you get back
from the server.

The following patch fixed it for me. Please note that I tested again
1.7.3, but since the test applies fine on trunk I guess it is an issue
there as well. Please ignore this patch if it isn't the case :)

Regards,
Jens

[[[
Fix several test cases against a remote repository caused by an extra
slash in the test area remote url.

* subversion/tests/cmdline/svntest/main.py
Normalize url to have no trailing slash even if options are already set,
which is the case when running the test suite from e.g. win_tests.py.

Patch by: jp7677{a}gmail.com
]]]

Received on 2012-02-26 10:55:39 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.