[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: Bert Huijben <bert_at_vmoo.com>
Date: Sun, 19 Oct 2008 17:45:45 +0200

> -----Original Message-----
> From: Stefan Sperling [mailto:stsp_at_elego.de]
> Sent: Sunday, October 19, 2008 5:39 PM
> To: dev_at_subversion.tigris.org
> Subject: Re: svn commit: r33738 - trunk/subversion/tests/cmdline
>
> 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.

I'm not sure if that gives you the extact valid display output. Most Windows
APIs would gladly accept C:\Windows/system32 as a valid path, but subversion
would output C:\Windows\system32. (Most join implementations I know just
append the path in a valid way; they don't normalize the rest of the path).

        Bert

---------------------------------------------------------------------
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:46:07 CEST

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.