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

Re: Windows buildbot FAIL on 1.7.x

From: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 9 Nov 2012 13:29:14 +0100

On Fri, Nov 09, 2012 at 11:07:33AM +0000, Philip Martin wrote:
> The Windows buildbots are failing on the 1.7.x branch:
>
> FAIL: patch_tests.py 37: patch target with no eol at eof
>
> @@ -1,2 +1,2 @@
> -U svn-test-work\working_copies\patch_tests-37\A/mu
> +U svn-test-work\working_copies\patch_tests-37\A\mu
> U svn-test-work\working_copies\patch_tests-37\iota
> CWD: E:\w2k3\tests\subversion\tests\cmdline
> EXCEPTION: SVNLineUnequal
>
> The problem is the wrong separator in the path for the patch
> notification.
>
> This test is a PASS on trunk and I can't spot a difference in the test
> code so it appears to be a problem in the client.

It's likely this bug in the test which I introduced on
the backport branch in r1399178.

Can I just commit that to the 1.7.x branch as obvious fix?

Index: subversion/tests/cmdline/patch_tests.py
===================================================================
--- subversion/tests/cmdline/patch_tests.py (revision 1407431)
+++ subversion/tests/cmdline/patch_tests.py (working copy)
@@ -3939,7 +3939,7 @@ def patch_target_no_eol_at_eof(sbox):
     "context", # no newline at end of file
   ]
   expected_output = [
- 'U %s\n' % os.path.join(wc_dir, 'A/mu'),
+ 'U %s\n' % os.path.join(wc_dir, 'A', 'mu'),
     'U %s\n' % os.path.join(wc_dir, 'iota'),
   ]
 
Received on 2012-11-09 13:29:55 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.