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

remaining format 30 test fallout on 1.7.x

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 25 Sep 2012 17:03:29 +0200

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
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?
Received on 2012-09-25 17:04:06 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.