]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39460: Fix test_zipfile.test_add_file_after_2107() (GH-18247)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 29 Jan 2020 14:41:49 +0000 (06:41 -0800)
committerGitHub <noreply@github.com>
Wed, 29 Jan 2020 14:41:49 +0000 (06:41 -0800)
commit2b675f0c8fd96f61977f6dc636f44fbd5587b6b3
treeff1e90f7de1f6897107236d740b3474f2365e0e3
parentd1fa90584f5f4bb0c47743d88a6520ba40e846a0
bpo-39460: Fix test_zipfile.test_add_file_after_2107() (GH-18247)

XFS filesystem is limited to 32-bit timestamp, but the utimensat()
syscall doesn't fail. Moreover, there is a VFS bug which returns
a cached timestamp which is different than the value on disk.

https://bugzilla.redhat.com/show_bug.cgi?id=1795576
https://bugs.python.org/issue39460GH-msg360952
(cherry picked from commit 3cb49b62e61208efcefbc04414e769fc173f205d)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_zipfile.py