]> granicus.if.org Git - python/commit
Change the criteria for skipping the test.
authorGuido van Rossum <guido@python.org>
Mon, 10 Sep 2001 13:34:12 +0000 (13:34 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 10 Sep 2001 13:34:12 +0000 (13:34 +0000)
commit47f40343b304cbd92dec796cdb2b647743a95c01
tree67d6c78ed6005dc167d90acca3ca3c6d77eca413
parentfda30588273598faf7899791d832d90ae6f7cf73
Change the criteria for skipping the test.

If on Windows, we require the 'largefile' resource.

If not on Windows, we use a test that actually writes a byte beyond
the 2BG limit -- seeking alone is not sufficient, since on some
systems (e.g. Linux with glibc 2.2) the sytem call interface supports
large seek offsets but not all filesystem implementations do.

Note that on Windows, we do not use the write test: on Win2K, that
test can take a minute trying to zero all those blocks on disk, and on
Windows our code always supports large seek offsets (but again, not
all filesystems do).  This may mean that on Win95, or on certain other
backward filesystems, test_largefile will *fail*.
Lib/test/test_largefile.py