]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] gh-107902: gh-108948: Don't test setting suid/sgid/sticky on systems that...
authorPetr Viktorin <encukou@gmail.com>
Tue, 22 Oct 2024 11:11:11 +0000 (13:11 +0200)
committerGitHub <noreply@github.com>
Tue, 22 Oct 2024 11:11:11 +0000 (12:11 +0100)
commit6bbaab801b0df24a966a35ca1ba775232d5d3308
tree902115782774edfbd3107914a0d767faa2f70416
parentb11623759252c348755072df405271d85c1ec147
[3.10] gh-107902: gh-108948: Don't test setting suid/sgid/sticky on systems that don't support them (GH-108368) (GH-109697) (#125255)

* gh-107902: Don't test setting suid/sgid on systems that don't support them (GH-108368)

* gh-108948: Skip test_tarfile.test_modes() on EFTYPE error (#109697)

On FreeBSD, regular users cannot set the sticky bit. Skip the test if
chmod() fails with EFTYPE error.

---------

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