Skip to content

node/test/parallel/test-debugger-pid.js fails in localized Windows #11250

@vsemozhetbyt

Description

@vsemozhetbyt
  • Version: Node.js 7.5.0, Node.js master (8.0.0pre), Node.js vee-eight-lkgr
  • Platform: Windows 7 x64 with Russian locale
  • Subsystem: test

On this test I get this error:

assert.js:85
  throw new assert.AssertionError({
  ^
AssertionError: 'The parameter is incorrect.' === 'Ïàðàìåòð çàäàí íåâåðíî.'
    at ChildProcess.<anonymous> (e:\DOC\prg\js\node\-git\node\fork\test\parallel\test-debugger-pid.js:49:10)
    at emitOne (events.js:96:13)
    at ChildProcess.emit (events.js:189:7)
    at e:\DOC\prg\js\node\-git\node\fork\test\parallel\test-debugger-pid.js:18:16
    at Array.forEach (native)
    at Socket.onData (e:\DOC\prg\js\node\-git\node\fork\test\parallel\test-debugger-pid.js:17:8)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:189:7)
    at readableAddChunk (_stream_readable.js:176:18)
    at Socket.Readable.push (_stream_readable.js:134:10)

I use cmd.exe with the Unicode codepage:

> chcp
Active code page: 65001

The test suit after building various Node.js versions fails only for this one test.

If I change the codepage back into the default DOS 866, then the message is:

assert.js:85
  throw new assert.AssertionError({
  ^
AssertionError: 'The parameter is incorrect.' === '├П├а├░├а├м├е├▓├░ ├з├а├д├а├н ├н├е├в├е├░├н├о.'
    at ChildProcess.<anonymous> (j:\temp\node-vee-eight-lkgr\test\parallel\test-debugger-pid.js:49:10)
    at emitOne (events.js:96:13)
    at ChildProcess.emit (events.js:188:7)
    at j:\temp\node-vee-eight-lkgr\test\parallel\test-debugger-pid.js:18:16
    at Array.forEach (native)
    at Socket.onData (j:\temp\node-vee-eight-lkgr\test\parallel\test-debugger-pid.js:17:8)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at readableAddChunk (_stream_readable.js:176:18)
    at Socket.Readable.push (_stream_readable.js:134:10)

It seems the message somehow is Russian "Параметр задан неверно".

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