| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
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).
|
BTW this PR is onto the v4.x branch since that's primarily what I'm trying to build/test, but I can submit a separate PR for master if desired. |
Sorry, something went wrong.
|
Typically PRs should always be targeting master. Once they land there, a collaborator will cherry-pick necessary commits back to versioned branches. If the problem doesn't exist on master, then it's usually (if feasible) just a matter of finding the existing commit in master to backport. |
Sorry, something went wrong.
|
OK thanks, I'll submit a PR on master (and then we can figure out what to do with this PR). |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
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).