Skip to content

test/parallel/test-fs-error-messages fails if tmpdir on different mount than tests #21669

Description

@drewfish
  • Version: v10.6.0
  • Platform:
  • Subsystem: test/parallel/test-fs-error-messages

When the NODE_TEST_DIR env var is set to a temporary directory which is on a different filesystem, test/parallel/test-fs-error-messages "rename non-empty directory" subtest will fail with err.code EXDEV. However the test code is written to assume this is EPERM so the assertion fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions