Skip to content

Tests that rely upon common.spawnCat() faill in Windows with Unicode shell codepage #11470

@vsemozhetbyt

Description

@vsemozhetbyt
  • Version: possibly all
  • Platform: Windows 7 x64
  • Subsystem: test, child_process

For context see #11469

test/parallel/test-child-process-stdio-inherit.js calls common.spawnCat() that calls more for Windows. more fails with Unicode shell codepage.

To check test/parallel/test-child-process-stdio-inherit.js pass:

chcp 65001 && node test\parallel\test-child-process-stdio-inherit.js
Active code page: 65001
Not enough memory.
... AssertionError: '' === 'asdfasdf' ...

chcp 1252 && node test\parallel\test-child-process-stdio-inherit.js
Active code page: 1252
[pass]

It seems currently this is the only test that uses common.spawnCat().

Metadata

Metadata

Assignees

No one assigned

    Labels

    testIssues and PRs related to the tests.windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions