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() test runs on same device #4861

Closed
wants to merge 2 commits into from
Closed

test: fs.link() test runs on same device #4861

wants to merge 2 commits into from

Commits on Jan 25, 2016

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

    When running the tests 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
    31583de View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f90c991 View commit details
    Browse the repository at this point in the history