[Zope3-dev] Re: Zope 3.1.0c1

Albertas Agejevas alga at pov.lt
Thu Aug 4 11:29:00 EDT 2005


On Thu, Aug 04, 2005 at 09:50:11AM -0400, Derrick Hudson wrote:
> On Thu, Aug 04, 2005 at 12:09:14PM +0200, Antonio Beamud Montero wrote:
> | I have downloaded and when I've make a check:
> | .....
> | Failure in test testUmask (zdaemon.tests.testzdrun.ZDaemonTests)
> | Traceback (most recent call last):
> |   File
> | "/home/antonio/src/noarch/zope/Zope-3.1.0c1/build/lib.linux-i686-2.3/zdaemon/tests/testzdrun.py", line 260, in testUmask
> |     self.assert_(not os.access(path, os.W_OK))
> |   File "/usr/lib/python2.3/unittest.py", line 278, in failUnless
> |     if not expr: raise self.failureException, msg
> | AssertionError
> | 
> | ....
> | Ran 6886 tests in 266.169s
> | 
> | FAILED (failures=1)
> | make: *** [check] Error 1
> 
> Did you do that as root?  Don't.  (in general don't do anything as root)

Maybe that test needs to check whether os.getuid() is not zero, and
complain loudly if the tests are run as root?

Albertas



More information about the Zope3-dev mailing list