Commit 71a615d
committed
pythongh-108948: Skip test_tarfile.test_modes() on EFTYPE error (python#109697)
On FreeBSD, regular users cannot set the sticky bit. Skip the test if
chmod() fails with EFTYPE error.
(cherry picked from commit 26e06ad)1 parent 4a0c118 commit 71a615d
1 file changed
Lines changed: 16 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
3791 | 3792 | | |
3792 | 3793 | | |
3793 | 3794 | | |
3794 | | - | |
3795 | | - | |
3796 | | - | |
| 3795 | + | |
| 3796 | + | |
| 3797 | + | |
| 3798 | + | |
| 3799 | + | |
| 3800 | + | |
| 3801 | + | |
| 3802 | + | |
| 3803 | + | |
| 3804 | + | |
| 3805 | + | |
| 3806 | + | |
| 3807 | + | |
| 3808 | + | |
| 3809 | + | |
3797 | 3810 | | |
3798 | 3811 | | |
3799 | 3812 | | |
| |||
0 commit comments