Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-107902: Don't test setting suid/sgid on systems that don't support them #108368

Merged
merged 2 commits into from
Sep 4, 2023

Conversation

encukou
Copy link
Member

@encukou encukou commented Aug 23, 2023

@encukou
Copy link
Member Author

encukou commented Aug 23, 2023

@furkanonder, could you check this on the Manjaro aarch64 system?

@furkanonder
Copy link
Contributor

@furkanonder, could you check this on the Manjaro aarch64 system?

It looks good to me, the tests are not failing anymore.

[ted@rasp4 cpython]$ ./python -m test test_tarfile
0:00:00 load avg: 1.04 Run tests sequentially
0:00:00 load avg: 1.04 [1/1] test_tarfile
test_tarfile passed in 2 min 29 sec

== Tests result: SUCCESS ==

1 test OK.

Total duration: 2 min 29 sec
Tests result: SUCCESS
[ted@rasp4 cpython]$ 

@encukou encukou merged commit 40e52c9 into python:main Sep 4, 2023
@encukou encukou deleted the gh-107902 branch September 4, 2023 13:46
encukou added a commit to encukou/cpython that referenced this pull request Oct 10, 2024
encukou added a commit to encukou/cpython that referenced this pull request Oct 16, 2024
pablogsal pushed a commit that referenced this pull request Oct 22, 2024
…ystems 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>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 22, 2024
…/sticky on systems that don't support them (pythonGH-108368) (pythonGH-109697) (pythonGH-125255)

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

* pythongh-108948: Skip test_tarfile.test_modes() on EFTYPE error (pythonGH-109697)

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

---------

(cherry picked from commit 6bbaab8)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
ambv pushed a commit that referenced this pull request Oct 28, 2024
…stems 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants