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

Trailing / on --url causes spurious test failures

From: Brian W. Fitzpatrick <fitz_at_collab.net>
Date: 2005-04-21 20:09:04 CEST

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
Received on Thu Apr 21 20:09:55 2005

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.