diff options
author | Marien Zwart <marienz@gentoo.org> | 2006-04-29 17:54:20 +0000 |
---|---|---|
committer | Marien Zwart <marienz@gentoo.org> | 2006-04-29 17:54:20 +0000 |
commit | dd903edf7ff0d3102ce67377b5caf1c9064bc738 (patch) | |
tree | ea17f66b7af92b88ccb08fe0d91c4fefe47bfeb4 /dev-python/twisted-web/files | |
parent | let's bury the package, for more information see bug #109318 (diff) | |
download | gentoo-2-dd903edf7ff0d3102ce67377b5caf1c9064bc738.tar.gz gentoo-2-dd903edf7ff0d3102ce67377b5caf1c9064bc738.tar.bz2 gentoo-2-dd903edf7ff0d3102ce67377b5caf1c9064bc738.zip |
Make the tests pass without FEATURES=userpriv, see bug #128688.
(Portage version: 2.1_pre9-r5)
Diffstat (limited to 'dev-python/twisted-web/files')
-rw-r--r-- | dev-python/twisted-web/files/twisted-web-0.5.0-root-skip.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-python/twisted-web/files/twisted-web-0.5.0-root-skip.patch b/dev-python/twisted-web/files/twisted-web-0.5.0-root-skip.patch new file mode 100644 index 000000000000..862078a294ce --- /dev/null +++ b/dev-python/twisted-web/files/twisted-web-0.5.0-root-skip.patch @@ -0,0 +1,13 @@ +=== modified file 'a/twisted/web/test/test_webclient.py' +--- a/twisted/web/test/test_webclient.py ++++ b/twisted/web/test/test_webclient.py +@@ -178,6 +178,8 @@ + IOError) + + def testDownloadPageError3(self): ++ if not os.geteuid(): ++ raise unittest.SkipTest('this does not work as root') + # make sure failures in open() are caught too. This is tricky. + # Might only work on posix. + tmpfile = open("unwritable", "wb") + |