cpython icon indicating copy to clipboard operation
cpython copied to clipboard

[3.9] gh-107902: gh-108948: Don't test setting suid/sgid/sticky on systems that don't support them (GH-108368) (GH-109697)

Open encukou opened this issue 1 year ago • 2 comments

This skips tarfile's chmod-related tests on

  • systems where setting suid/sgid is no-op (which are unsupported), and
  • systems where setting the sticky bit is an OSError (like the tier-3 FreeBSD)

This also adds a few directory-related tests, which were originally omitted because they failed on some platforms. Now they will be skipped on those platforms.

In 3.11+ this was done with two commits, GH-108368 & GH-109697:

(cherry-picked from 40e52c94a27e4cd94b48e8a705914823cbb6afed) (cherry-picked from 26e06ad617bb416201c769fea91cd33d544c6a1c)

One builds on the other. IMO it makes sense to backport it all, so that these tests are the same as in 3.11+.

  • Issue: gh-108948
  • Issue: gh-107902

encukou avatar Oct 16 '24 11:10 encukou

!buildbot FreeBSD

encukou avatar Oct 16 '24 12:10 encukou

:robot: New build scheduled with the buildbot fleet by @encukou for commit 7ab6520ac96dc4f977909225e0e15ea24e4cf46c :robot:

The command will test the builders whose names match following regular expression: FreeBSD

The builders matched are:

  • AMD64 FreeBSD15 PR
  • AMD64 FreeBSD Refleaks PR
  • AMD64 FreeBSD PR
  • AMD64 FreeBSD14 PR

bedevere-bot avatar Oct 16 '24 12:10 bedevere-bot