Skip to content

test: Change expected file permissions in test

The test in test/parallel/test-fs-open-mode-mask.js opens a new file in "w+" mode and then checks if the file is created with the correct permissions. The expected permissions include read access for everyone. With this PR I change the expected permissions to only include read and write access for the owner of the file, as it is defined in the test. All other permissions come from the configuration of the host system.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading