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

Re: Errors in running pythong tests in make check

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 28 Oct 2010 16:01:20 +0200

Hoffman, Aodhan wrote on Thu, Oct 28, 2010 at 06:51:08 -0700:
>
> Thanks, Daniel.
>
> I looked and found the test repository exists, but for some reason the python tests aren't targeting that directory, they're targeting my home directory, and failing.
>
> Directory 'svn-test-work' exists:
>
> -bash-3.2$ ls -l /opt/svn/build/subversion-1.6.12/subversion/tests/cmdline/svn-test-work
> total 24
> drwxr-xr-x 4 root root 4096 Oct 27 12:25 local_tmp
> drwxr-xr-x 2 root root 4096 Oct 27 09:12 repositories
> drwxr-xr-x 2 root root 4096 Oct 27 09:12 working_copies
>
> Tests target different directory:
>
> START: getopt_tests.py
> CMD: svnadmin create svn-test-work/local_tmp/repos --bdb-txn-nosync CMD:
> /opt/svn/build/subversion-1.6.12/subversion/svnadmin/svnadmin create svn-test-work/local_tmp/repos --bdb-txn-nosync
> exited with 1
> <TIME = 0.027599>
> svnadmin: Can't open file '/net/nnmx-blv-01-tmp/export/home/tx714c/.subversion/servers': Permission denied

Okay then. It's a bug; that svnadmin command should bepassed --config-dir,
whose argument should point to the config dir that the tests create.
(See svntest/main.py.)

Feel free to send a patch :-)
Received on 2010-10-28 16:02:54 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.