GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||
GeezerVison is showing github.com — test: fix zipinfo non-ascii check in test-zlib-zip-interop by ravi-arnan · Pull Request #66978 · nodejs/node Conversation
Contributor
Fixes: #66975 ProblemIn On these systems, assert.ok(zipinfo.stdout.toString().includes(name), `zipinfo missing ${name}`); to fail. SolutionWhen checking
The actual UTF-8 decoding and round-trip extraction continue to be verified by Verification
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. Keep UNICODE_SUPPORT guard so macOS skips checking non-ASCII names in zipinfo output, and accept '?' / U+FFFD placeholders on builds with UNICODE_SUPPORT that filter non-ASCII bytes in fnfilter() without wide-character printing support (such as NixOS or Gentoo). Fixes: nodejs#66975 Signed-off-by: Ravi Arnan <[email protected]>
ravi-arnan
force-pushed
the
test-zlib-zipinfo-unicode
branch
from
288cb78 to
d64e99d
Compare
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@ ## main #66978 +/- ## ========================================== + Coverage 90.58% 90.60% +0.01% ========================================== Files 797 797 Lines 278298 278298 Branches 53523 53518 -5 ========================================== + Hits 252095 252140 +45 + Misses 16570 16519 -51 - Partials 9633 9639 +6 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Tested on macOS with the system zipinfo, passes. LGTM, thanks!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
CI: https://ci.nodejs.org/job/node-test-pull-request/79185/ 💚 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Why can't we just force the entire world to use UTF8 😢 😜
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Landed in dd425b7 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Keep UNICODE_SUPPORT guard so macOS skips checking non-ASCII names in zipinfo output, and accept '?' / U+FFFD placeholders on builds with UNICODE_SUPPORT that filter non-ASCII bytes in fnfilter() without wide-character printing support (such as NixOS or Gentoo). Fixes: #66975 Signed-off-by: Ravi Arnan <[email protected]> PR-URL: #66978 Reviewed-By: James M Snell <[email protected]> Reviewed-By: LiviaMedeiros <[email protected]> Reviewed-By: Philipp Dunkel <[email protected]>
Keep UNICODE_SUPPORT guard so macOS skips checking non-ASCII names in zipinfo output, and accept '?' / U+FFFD placeholders on builds with UNICODE_SUPPORT that filter non-ASCII bytes in fnfilter() without wide-character printing support (such as NixOS or Gentoo). Fixes: nodejs#66975 Signed-off-by: Ravi Arnan <[email protected]> PR-URL: nodejs#66978 Reviewed-By: James M Snell <[email protected]> Reviewed-By: LiviaMedeiros <[email protected]> Reviewed-By: Philipp Dunkel <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
test/parallel/test-zlib-zip-interop.js fails if system's zipinfo is built without natspec
There was an error while loading. Please reload this page.