]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-126909: Fix running xattr tests on systems with lower limits (#126930)
authorMichał Górny <mgorny@gentoo.org>
Mon, 18 Nov 2024 13:05:55 +0000 (13:05 +0000)
committerGitHub <noreply@github.com>
Mon, 18 Nov 2024 13:05:55 +0000 (14:05 +0100)
commit2c0a21c1aad65ab8362491acf856eb574b1257ad
treefa4bfb07dd9b4dad81654964f16a3794f8a6e373
parentf9c5573dedcb2f2e9ae152672ce157987cdea612
gh-126909: Fix running xattr tests on systems with lower limits (#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.
Lib/test/test_os.py
Misc/NEWS.d/next/Tests/2024-11-17-16-56-48.gh-issue-126909.60VTxW.rst [new file with mode: 0644]