summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_posix.py
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2012-06-23 00:55:36 (GMT)
committerJesus Cea <jcea@jcea.es>2012-06-23 00:55:36 (GMT)
commit9d874866f72523e31eae85f1a070feeaaf440294 (patch)
treee138ef7c673cc52a1383ccbdc6d7cec7b192e131 /Lib/test/test_posix.py
parent310f95b04db22fef2d2e66bae628c07f4cb0b097 (diff)
downloadcpython-9d874866f72523e31eae85f1a070feeaaf440294.zip
cpython-9d874866f72523e31eae85f1a070feeaaf440294.tar.gz
cpython-9d874866f72523e31eae85f1a070feeaaf440294.tar.bz2
Kernel bug in freebsd9 - #10142: Support for SEEK_HOLE/SEEK_DATA
Diffstat (limited to 'Lib/test/test_posix.py')
-rw-r--r--Lib/test/test_posix.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py
index a9b13e2..7c1dd7c 100644
--- a/Lib/test/test_posix.py
+++ b/Lib/test/test_posix.py
@@ -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) :