Skip to content

[3.13] gh-126909: Fix running xattr tests on systems with lower limits (GH-126930)#126965

Merged
vstinner merged 1 commit into
python:3.13from
miss-islington:backport-2c0a21c-3.13
Nov 18, 2024
Merged

[3.13] gh-126909: Fix running xattr tests on systems with lower limits (GH-126930)#126965
vstinner merged 1 commit into
python:3.13from
miss-islington:backport-2c0a21c-3.13

Conversation

@miss-islington

@miss-islington miss-islington commented Nov 18, 2024

Copy link
Copy Markdown
Contributor

Modify the extended attribute tests to write fewer and smaller extended
attributes, in order to fit within filesystems with total xattr limit
of 1 KiB (e.g. ext4 with 1 KiB blocks). Previously, the test would
write over 2 KiB, making it fail with ENOSPC on such systems.
(cherry picked from commit 2c0a21c)

Co-authored-by: Michał Górny mgorny@gentoo.org

…pythonGH-126930)

Modify the extended attribute tests to write fewer and smaller extended
attributes, in order to fit within filesystems with total xattr limit
of 1 KiB (e.g. ext4 with 1 KiB blocks).  Previously, the test would
write over 2 KiB, making it fail with ENOSPC on such systems.
(cherry picked from commit 2c0a21c)

Co-authored-by: Michał Górny <mgorny@gentoo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants