[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: Branko Čibej <brane_at_wandisco.com>
Date: Fri, 09 Nov 2012 13:51:02 +0100

On 09.11.2012 13:29, Stefan Sperling wrote:
> 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'),
> ]

+1

-- 
Branko Čibej
Director of Subversion | WANdisco | www.wandisco.com
Received on 2012-11-09 13:51:38 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.