[Python-checkins] cpython: Kernel bug in freebsd9 - #10142: Support for SEEK_HOLE/SEEK_DATA

jesus.cea python-checkins at python.org
Sat Jun 23 02:56:06 CEST 2012


http://hg.python.org/cpython/rev/13f5a329d5ea
changeset:   77601:13f5a329d5ea
user:        Jesus Cea <jcea at jcea.es>
date:        Sat Jun 23 02:55:36 2012 +0200
summary:
  Kernel bug in freebsd9 - #10142: Support for SEEK_HOLE/SEEK_DATA

files:
  Lib/test/test_posix.py |  3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py
--- a/Lib/test/test_posix.py
+++ b/Lib/test/test_posix.py
@@ -1010,6 +1010,9 @@
         posix.RTLD_GLOBAL
         posix.RTLD_LOCAL
 
+    @unittest.skipIf(sys.platform == 'freebsd9',
+            "Skip test because known kernel bug - " \
+            "http://lists.freebsd.org/pipermail/freebsd-amd64/2012-January/014332.html")
     @unittest.skipUnless(hasattr(os, 'SEEK_HOLE'),
                          "test needs an OS that reports file holes")
     def test_fs_holes(self) :

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list