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

Re: 1.6.7 up for signing/testing

From: Stefan Sperling <stsp_at_elego.de>
Date: Sat, 26 Dec 2009 18:59:01 +0000

On Wed, Dec 23, 2009 at 09:35:23AM -0600, Hyrum K. Wright wrote:
> A little late, but never never, here's the promised tarballs for Subversion 1.6.7. The magic revision is r893529, and you can find the tarballs here:
>
> http://orac.ece.utexas.edu/pub/svn/1.6.7/
>
> Please be sure to test the bindings.

A python bindings test fails:

$ python ./mergeinfo.py
F.....
======================================================================
FAIL: test_mergeinfo_get (__main__.SubversionMergeinfoTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./mergeinfo.py", line 115, in test_mergeinfo_get
    self.compare_mergeinfo_catalogs(mergeinfo, expected_mergeinfo)
  File "./mergeinfo.py", line 140, in compare_mergeinfo_catalogs
    self.compare_mergeinfos(catalog1[k], catalog2[k])
  File "./mergeinfo.py", line 145, in compare_mergeinfos
    self.assertEqual(keys1, keys2)
AssertionError: ['/branches/a', '/branches/b', '/branches/c', '/trunk'] != ['branches/a', 'branches/b', 'branches/c', 'trunk']

----------------------------------------------------------------------
Ran 6 tests in 2.544s

FAILED (failures=1)

The patch below fixes the test in 1.6.x.

The tests on trunk seem to be even more broken and fail for other
reasons.

[[[
Fix failing test in SWIG python bindings test suite.

* subversion/bindings/swig/python/tests/mergeinfo.py
  (test_mergeinfo_get): Correctly formattted mergeinfo has paths
   with leading slashes, which this function incorrectly didn't expect.
]]]

Index: subversion/bindings/swig/python/tests/mergeinfo.py
===================================================================
--- subversion/bindings/swig/python/tests/mergeinfo.py (revision 893993)
+++ subversion/bindings/swig/python/tests/mergeinfo.py (working copy)
@@ -107,10 +107,10 @@
                                        False, None, None)
     expected_mergeinfo = \
       { '/trunk' :
- { 'branches/a' : [RevRange(2, 11)],
- 'branches/b' : [RevRange(9, 13)],
- 'branches/c' : [RevRange(2, 16)],
- 'trunk' : [RevRange(1, 9)], },
+ { '/branches/a' : [RevRange(2, 11)],
+ '/branches/b' : [RevRange(9, 13)],
+ '/branches/c' : [RevRange(2, 16)],
+ '/trunk' : [RevRange(1, 9)], },
       }
     self.compare_mergeinfo_catalogs(mergeinfo, expected_mergeinfo)
 
Received on 2009-12-26 19:59:54 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.