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

_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to