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

Failing dirent_uri-test.exe 32 on Windows with no D: drive

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Mon, 4 Jun 2012 23:31:29 +0200

dirent_uri-test.exe 32 started failing on my laptop, after I removed
my cdrom drive. It fails with:

[[[
..\..\..\subversion\tests\libsvn_subr\dirent_uri-test.c:2030: (apr_err=125001)
..\..\..\subversion\libsvn_subr\dirent_uri.c:1921: (apr_err=125001)
..\..\..\subversion\libsvn_subr\dirent_uri.c:1565: (apr_err=125001)
svn_tests: E125001: Couldn't determine absolute path of 'D:\dir'
..\..\..\subversion\libsvn_subr\dirent_uri.c:1565: (apr_err=20024)
svn_tests: E020024: The given path is misformatted or contained
invalid characters
FAIL: dirent_uri-test.exe 32: test svn_dirent_condense_targets
]]]

It's not clear to me whether this is a test-suite problem (shouldn't
assume there is a D: drive), or a genuine problem
(svn_dirent_get_absolute should be able to cope with paths on
non-existent drives).

svn_direct_get_absolute calls apr_filepath_merge, which is the one
that returns the E020024 (EBADPATH). Is "D:\dir" a bad path on a
system that doesn't have a D: drive?

Any ideas?

FWIW, "svn info D:\blah", with svn 1.7.4, fails on my system with:

    svn: E020024: Error resolving case of 'D:\blah'

Not exactly a good error message either (same APR error code).

-- 
Johan
Received on 2012-06-04 23:32: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.