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

Re: Candidate bug in build process -- cannot pass tests building/testing as root

From: Karl Fogel <kfogel_at_red-bean.com>
Date: Sun, 17 Feb 2008 23:02:08 -0500

"Charles Butterfield" <charles.butterfield_at_nextcentury.com> writes:
> When building 1.4.6 as root (under CentOS 5.1), one of the tests fails,
> and several tests are skipped.

Skipping is normal -- it's intentional, and does not indicate failure.
It just means the test suite isn't running that test, for some (known)

> The failed test is:
> FAIL: switch_tests.py 17: refresh the WC file system read-only
> attribute

Interestingly, that test starts out by Skipping if it's running as

   def refresh_read_only_attribute(sbox):
     "refresh the WC file system read-only attribute "
     # This test will fail when run as root. Since that's normal
     # behavior, just skip the test.
     if os.name == 'posix':
       if os.geteuid() == 0:
         raise svntest.Skip

So something about that code isn't working for you on CentOS. Can you
find out what it is? If you try "os.getuid" instead of "os.geteuid",
does that change it? What does getlogin() return?


To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-02-18 05:07:36 CET

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

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