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

RE: Re: 1.4.2 build tests fail on windows

From: Andrei Dimitrief-Jianu <andrei_at_allegrowireless.com>
Date: 2007-01-30 23:06:36 CET

I had the apache up and running ok, but I did not use any authentication
on the test repositories. :(
Basically, the configuration for the repositories used for the tests
looked like:

<Location /svn-test-work/repositories>
    DAV svn
    SVNParentPath
C:/SVN/src-trunk/Release/subversion/tests/cmdline/svn-test-work/reposito
ries
</Location>
<Location /svn-test-work/local_tmp/repos>
    DAV svn
    SVNPath
C:/SVN/src-trunk/Release/subversion/tests/cmdline/svn-test-work/local_tm
p/repos
</Location>

I had to change them to:

<Location /svn-test-work/repositories>
    DAV svn
    SVNParentPath
C:/SVN/src-trunk/Release/subversion/tests/cmdline/svn-test-work/reposito
ries
    AuthzSVNAccessFile
C:/SVN/src-trunk/Release/subversion/tests/cmdline/svn-test-work/authz
    AuthType Basic
    AuthName "Subversion Repository"
    AuthUserFile conf/users
    Require valid-user
</Location>
<Location /svn-test-work/local_tmp/repos>
    DAV svn
    SVNPath
C:/SVN/src-trunk/Release/subversion/tests/cmdline/svn-test-work/local_tm
p/repos
    AuthzSVNAccessFile
C:/SVN/src-trunk/Release/subversion/tests/cmdline/svn-test-work/authz
    AuthType Basic
    AuthName "Subversion Repository"
    AuthUserFile conf/users
    Require valid-user
</Location>

... and add the test users in the conf/users file as

jrandom:$apr1$3p1.....$FQW6RceW5QhJ2blWDQgKn0
jconstant:$apr1$jp1.....$Usrqji1c9H6AbOxOGAzzb0

It worked like a charm. The link Lieven mentioned
(http://svn.collab.net/repos/svn/trunk/subversion/tests/cmdline/README)
contains more useful info about the tests.

Regards,
Andrei.

-----Original Message-----
From: news [mailto:news@sea.gmane.org] On Behalf Of G.J. Doornink
Sent: Tuesday, January 30, 2007 2:06 PM
To: users@subversion.tigris.org
Subject: Re: 1.4.2 build tests fail on windows

Andrei Dimitrief-Jianu wrote:

> When running win-tests.py with -c -r -v as command line arguments the
> tests pass. Running the tests through the httpd (python win-tests.py
-c
> -r -v -u http://localhost --httpd-port 80) is a different story:
>
> Testing Release configuration on remote repository http://localhost.
> Running all tests in getopt_tests.py...success
> Running all tests in basic_tests.py...FAILURE

This happened to me too when testing 1.4.3. For me it happened because
the test starts apache as a service and apache can't find the required
subversion binaries (libdb43.dll (or libdb44.dll) and intl3_svn.dll)

> I was still able to install it and use it successfully (check-ins,
> check-outs, branching, etc.), so I suspect it is just a configuration
> issue on my build machine.
>
> Are there any tweaks to be put in place in order to get the httpd
tests
> pass?

Copying the required binaries from the build to the Apache2\bin
directory before running the test solved the problem for me.

HTH.

Kind regards,

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 30 23:07:06 2007

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