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

Re: having trouble resolving a "make check test": FAIL: wc_tests.py 7: inaccessible .svn/wc.db

From: Jeff Hemmelgarn <jeffhemme_at_gmail.com>
Date: Mon, 31 Mar 2014 11:03:54 -0700

Thanks Philip. I really appreciate your response.

All the best, Jeff

On Mar 31, 2014, at 6:17 AM, Philip Martin <philip.martin_at_wandisco.com> wrote:

> Jeff Hemmelgarn <jeffhemme_at_gmail.com> writes:
>
>> I was able to "make" just fine. But, I keep getting 1 fail error on
>> test 96/96 on wc-tests.py (specifically wc-tests.py 7) when running a
>> "make check".
>
> The test does
>
> os.chmod(sbox.ospath(".svn/wc.db"), 0)
>
> to make the wc.db inaccessible. I suspect you are running the tests as
> root which gives you access to the file and causes the test to fail.
> It's generally a bad idea to build software or run tests as root, you
> generally only need root access when you get to the install step.
>
> I suppose we should skip the test if we can detect running as root.
>
> --
> Philip Martin | Subversion Committer
> WANdisco // *Non-Stop Data*
Received on 2014-03-31 20:04:27 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.