You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Brian W. Fitzpatrick" <fi...@collab.net> on 2005/04/21 18:09:04 UTC

Trailing / on --url causes spurious test failures

If I run make check like this:

   $ make check BASE_URL=http://localhost/

I get three failures on trunk:

   FAIL:  switch_tests.py 12: anchor=target that fails due to local mods
   FAIL:  merge_tests.py 21: merge between branches (Issue #2222)
   FAIL:  svnversion_tests.py 1: test 'svnversion' on wc and other dirs

However, if I run make check like this with no trailing slash on the 
URL:

   $ make check BASE_URL=http://localhost

All tests succeed.

The merge test failure looks like it may be an actual bug in svn.  
Here's the  output from merge_tests.py:21:

   EXPECTED STDOUT:
   Path: working_copies/merge_tests-21/foo
   URL: http://localhost//repositories/merge_tests-21/foo
   Revision: 2
   Node Kind: directory
   Schedule: add
   Copied From URL: 
http://localhost//repositories/merge_tests-21/A/B/F/foo
   Copied From Rev: 2

   ACTUAL STDOUT:
   Path: working_copies/merge_tests-21/foo
   URL: http://localhost/repositories/merge_tests-21/foo
   Revision: 2
   Node Kind: directory
   Schedule: add
   Copied From URL: 
http://localhost/repositories/merge_tests-21/A/B/F/foo
   Copied From Rev: 2

   EXCEPTION: SVNLineUnequal

And the output from svnversion_tests.py:1:

   Unmodified working copy
   EXPECTED STDOUT:
   1
   ACTUAL STDOUT:
   1S
   EXCEPTION: SVNLineUnequal

Switch tests, however, doesn't give any sort of meaningful error on 
STDOUT.

-Fitz


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Trailing / on --url causes spurious test failures

Posted by "Brian W. Fitzpatrick" <fi...@collab.net>.
On Thu, 2005-04-21 at 13:09 -0500, Brian W. Fitzpatrick wrote:
> If I run make check like this:
> 
>    $ make check BASE_URL=http://localhost/
> 
> I get three failures on trunk:
> 
>    FAIL:  switch_tests.py 12: anchor=target that fails due to local mods
>    FAIL:  merge_tests.py 21: merge between branches (Issue #2222)
>    FAIL:  svnversion_tests.py 1: test 'svnversion' on wc and other dirs

Fixed in r14407.

-Fitz


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org