-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ZipFile UnixCreateSetsPermissionsInExternalAttributes test fails on A…
…pple OSes (#69583) * ZipFile UnixCreateSetsPermissionsInExternalAttributes test fails on Apple OSes There are scenarios where chmod succeeds, but the OS clears certain bits, like S_ISGID and S_ISUID. When this happens, the ZipFile tests fail because the .zip file doesn't contain the expected ExternalAttributes. To fix this, read the file mode after calling chmod, and update the expected file mode so the tests still pass. Fix #68293 Fix #60581 * Fix the tests to expect the correct file name
- Loading branch information
Showing
1 changed file
with
33 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters