-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow ziptool_regress to read commands from stdin, use to pass non-AS…
…CII commands. Hopefully fixes tests on Windows CI builds.
- Loading branch information
Showing
6 changed files
with
57 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
# set file comment to UTF-8 for CP437 encoded filename (adds InfoZIP extra field) | ||
return 0 | ||
arguments testfile.zip set_file_comment 0 ÄÖÜßäöü | ||
arguments -i testfile.zip dummy | ||
stdin | ||
set_file_comment 0 ÄÖÜßäöü | ||
end-of-inline-data | ||
file testfile.zip test-cp437.zip test-cp437-comment-utf-8.zip |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
# rename file to UTF-8 name in zip archive | ||
return 0 | ||
arguments testfile rename 0 ÄÖÜßäöü | ||
arguments -i testfile dummy | ||
stdin | ||
rename 0 ÄÖÜßäöü | ||
end-of-inline-data | ||
file testfile testfile.zip testfile-UTF8.zip |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
# rename file to UTF-8 name in zip archive with CP437 comment (sets InfoZIP UTF-8 Name Extension) | ||
return 0 | ||
arguments testfile rename 0 ÄÖÜßäöü | ||
arguments -i testfile dummy | ||
stdin | ||
rename 0 ÄÖÜßäöü | ||
end-of-inline-data | ||
file testfile test-cp437-fc.zip test-cp437-fc-utf-8-filename.zip |
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