-
-
Notifications
You must be signed in to change notification settings - Fork 644
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Creating ZIP archives with no file extension (Cherry-pick of #21694
) (#21706) This fixes #21693 There are a number of changes involved: * Add a `--adjust-sfx` command-line flag when invoking the `zip` binary -- the actual fix for the bug * Modify the `test_create_zip_archive` unit test: * Parametrize it for multiple test scenarios * Modify the last section, as it was failing for anything but `.zip` extensions * **Note**: This is a best-effort change that I'm not super confident in. There may be better or more canonical ways to do this * Remove the unsed `ZipBinary.create_archive_argv` method Co-authored-by: Dimitar Kovachev <[email protected]> Co-authored-by: Huon Wilson <[email protected]>
- Loading branch information
1 parent
1a70738
commit c683e54
Showing
3 changed files
with
10 additions
and
8 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
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
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