[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: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 31 Mar 2014 14:17:33 +0100

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 15:18:10 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.