Kernel bug in freebsd9 - #10142: Support for SEEK_HOLE/SEEK_DATA

This commit is contained in:
Jesus Cea 2012-06-23 02:55:36 +02:00
parent 310f95b04d
commit 9d874866f7
1 changed files with 3 additions and 0 deletions

View File

@ -1010,6 +1010,9 @@ class PosixTester(unittest.TestCase):
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) :