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