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

Re: remaining format 30 test fallout on 1.7.x

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 25 Sep 2012 16:11:49 +0100

Stefan Sperling <stsp_at_elego.de> writes:

> There is one remaining failure on 1.7.x within a format 30 working copy.
>
> The failing test is stat_tests 19, which tests 'svn status' on an
> unversioned directory. On 1.7.x, it uses sbox.repos_dir as an unversioned
> directory. This fails as we traverse upwards and find the 1.7.x working

I guess you mean 1.8.x?

> copy, where we bail out with an upgrade error.
>
> On trunk, it's been modified to remove sbox.wc_dir and re-create it
> as an empty directory, on which 'svn status' is then run. That currently
> returns a 'node not found', since it's an unversioned directory inside
> of an unversioned directory.
>
> However, I don't see a way of fixing this test in face of a WC with
> an unsupported format somewhere up the directory tree.
> Except for making the test also expect an "unsupported format" error
> and treat that as a PASS. But I'm not very happy with doing so.
>
> Or we could try to use a system-wide directory that's virtually guaranteed
> to exist outside of any working copy, and run 'svn status' on it.
> I don't know if there's a cross-platform way to do that. The /tmp dir
> should work on unix-like systems (nevermind folks who put /tmp or even
> the root dir into Subversion). But what about Windows?
>
> Any suggestions? Should we just remove this test?

Have the test create a 1.7.x working copy and put the unversioned
directory inside that working copy.

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2012-09-25 17:12:24 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.