Staging
v0.8.1
Revision b2385458ceddaf3d0d91456923716259d3915023 authored by Victor Stinner on 21 January 2019, 09:24:12 UTC, committed by GitHub on 21 January 2019, 09:24:12 UTC
Fix sparse file tests of test_tarfile on ppc64le with the tmpfs
filesystem.

Fix the function testing if the filesystem supports sparse files:
create a file which contains data and "holes", instead of creating a
file which contains no data.

tmpfs effective block size is a page size (tmpfs lives in the page
cache). RHEL uses 64 KiB pages on aarch64, ppc64 and ppc64le, only
s390x and x86_64 use 4 KiB pages, whereas the test punch holes of
4 KiB.

test.pythoninfo: Add resource.getpagesize().
1 parent 222d303
History
File Mode Size
clinic
kcp
README.txt -rw-r--r-- 400 bytes
cleanup.py -rwxr-xr-x 1.4 KB
sha3module.c -rw-r--r-- 22.7 KB

README.txt

back to top