]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] gh-107902: gh-108948: Don't test setting suid/sgid/sticky on systems that don...
authorPetr Viktorin <encukou@gmail.com>
Mon, 28 Oct 2024 12:50:27 +0000 (13:50 +0100)
committerGitHub <noreply@github.com>
Mon, 28 Oct 2024 12:50:27 +0000 (13:50 +0100)
commiteb1639717b14c06f1c20520b7c6bcf2c45ff4dca
tree9d4c06f9dfa6d6675fe052c372e7f3868c99c085
parentbe988e8aa6e6ac9e9a5143cf777c2caeb7f369cb
[3.9] gh-107902: gh-108948: Don't test setting suid/sgid/sticky on systems that don't support them (GH-108368) (GH-109697) (#125576)

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