Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: fs.link() on same device #4859

Closed
wants to merge 1 commit into from
Closed

test: fs.link() on same device #4859

wants to merge 1 commit into from

Commits on Jan 25, 2016

  1. test: fs.link() on same device

    If `NODE_TEST_DIR` is set to a device different than the location of the
    test files (where this repo is checked out), then the
    parallel/test-fs-link.js test will fail with `EXDEV: cross-device link
    not permitted`. The code works fine (and is in fact throwing an error as
    desired) but the test fails.
    
    This commit first copies the "source" file to the same directory as the
    "destination" (where the hardlink will be created).
    drewfish committed Jan 25, 2016
    Configuration menu
    Copy the full SHA
    742663f View commit details
    Browse the repository at this point in the history