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

Re: svn commit: r33738 - trunk/subversion/tests/cmdline

From: Stefan Sperling <stsp_at_elego.de>
Date: Sun, 19 Oct 2008 16:39:16 +0100

On Sun, Oct 19, 2008 at 05:26:03PM +0200, Bert Huijben wrote:
> This specific test now only fails on the windows buildbot, as Windows uses '\' as directory separator in the output.
>
> EXPECTED STDOUT:
> Skipped 'A/D/G2/tau'
> --- Merging r2 into 'A/D/G2':
> C A/D/G2
> Summary of conflicts:
> Tree conflicts: 1
> Skipped paths: 1
> ACTUAL STDOUT:
> Skipped 'A\D\G2\tau'
> --- Merging r2 into 'A\D\G2':
> C A\D\G2
> Summary of conflicts:
> Tree conflicts: 1
> Skipped paths: 1
>
> (See http://www.mobsol.be/buildbot/win32-xp%20VS2005/builds/1135/step-Test%20fsfs%2Bra_local/0 ).
>
> I think most tests work around this difference by only checking parts of the path, but I would guess allowing / and \ as separator might work as well.

There is os.path.join() in python which I guess was made for cases
such as this one.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-10-19 17:39:37 CEST

This is an archived mail posted to the Subversion Dev mailing list.