Skip to content

test: fix process.title expectation

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

process.title would work properly only in FreeBSD, OSX, and Linux as per test/parallel/test-setproctitle.js.

This patch makes sure that the test expects an empty string in other platforms.

This patch helps fix the SmartOS failures in https://ci.nodejs.org/job/node-test-commit/6962/ for https://github.com/nodejs/node/pull/10456


cc @trott

Merge request reports

Loading