Skip to content

test: only check fd 0,1,2 are used and not their access modes

Don't do a write on stdout/stderr because that checks for their writability. But fd=1 could legitimately be opened with read-only access by the user. What this test needs to only ensure is that they are used at startup.

Checklist
  • make -j4 test (UNIX)
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

test

Description of change

Fixes: https://github.com/nodejs/node/issues/10234

Merge request reports

Loading