You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Hoffman, Aodhan" <Ao...@boeing.com> on 2010/10/28 21:22:54 UTC

RE: Errors in running python tests in make check

 
Whelp, I decided to ignore the python tests and succeded to getting svn breathing, but not working.
Once I got mod_dav_svn up, I tried creating a repository and it died:

svnadmin: Can't open file '/net/nnmx-blv-01-tmp/export/home/tx714c/.subversion/servers': Permission denied

-bash-3.2$ ls -l /net/nnmx-blv-01-tmp/export/home/tx714c/.subversion/servers
-rwxrwxrwx 1 tx714c nnm_adm 3270 Oct 22 11:59 /net/nnmx-blv-01-tmp/export/home/tx714c/.subversion/servers

What's going on? Why is svnadmin still looking at my home directory for anything? How to I tell it to put this .subversion directory somewhere else?

 ------------------------------------------

                 Aodhan Hoffman 
                 Network Tools & Performance Management 
                 DNCMS,  NAMS,  NLS,  XTend, VoIP, E911

                 Desk: 425 / 865-6829
                 Mobile: 206 / 478-9568
                 Email: aodhan.hoffman@boeing.com

 ------------------------------------------ 

-----Original Message-----
From: Daniel Shahaf [mailto:d.s@daniel.shahaf.name] 
Sent: Thursday, October 28, 2010 7:01 AM
To: users@subversion.apache.org
Subject: Re: Errors in running pythong tests in make check

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 :-)