GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: fs.link() on same device by drewfish · Pull Request #4859 · nodejs/node

Conversation

@drewfish

@drewfish drewfish commented Jan 25, 2016

Copy link
Copy Markdown
Contributor

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).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@drewfish
test: fs.link() on same device
742663f
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

drewfish commented Jan 25, 2016

Copy link
Copy Markdown
Contributor Author

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@MylesBorins MylesBorins added the v4.x label Jan 25, 2016
@mscdex

mscdex commented Jan 25, 2016

Copy link
Copy Markdown
Contributor

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mscdex mscdex added fs Issues and PRs related to file-system APIs and the fs module. test Issues and PRs related to Node.js core tests and test infrastructure. labels Jan 25, 2016
@drewfish

drewfish commented Jan 25, 2016

Copy link
Copy Markdown
Contributor Author

OK thanks, I'll submit a PR on master (and then we can figure out what to do with this PR).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@drewfish drewfish mentioned this pull request Jan 25, 2016
test: fs.link() test runs on same device #4861
Closed
@mscdex

mscdex commented Jan 25, 2016

Copy link
Copy Markdown
Contributor

Closing this in favor of #4861.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mscdex mscdex closed this Jan 25, 2016
@drewfish
drewfish deleted the hardlink-same-device branch January 26, 2016 18:13
This was referenced Oct 16, 2022
[Snyk] Fix for 1 vulnerabilities baby636/node#66
Open
[Snyk] Security upgrade mocha from 5.2.0 to 10.1.0 Matthelonianxl/node#44
Open
This was referenced Oct 16, 2022
[Snyk] Security upgrade mocha from 5.2.0 to 10.1.0 adamlaska/node#74
Open
[Snyk] Fix for 1 vulnerabilities adamlaska/node#76
Open
@snyk-bot snyk-bot mentioned this pull request Oct 16, 2022
[Snyk] Security upgrade mocha from 5.2.0 to 10.1.0 adamlaska/node#77
Open
@baby636 baby636 mentioned this pull request Oct 16, 2022
[Snyk] Fix for 1 vulnerabilities baby636/node#67
Open
@Qdigital Qdigital mentioned this pull request Oct 16, 2022
[Snyk] Security upgrade mocha from 5.2.0 to 10.1.0 Qdigital/node#31
Open
@baby636 baby636 mentioned this pull request Oct 16, 2022
[Snyk] Fix for 1 vulnerabilities baby636/node#68
Open
@adamlaska adamlaska mentioned this pull request Oct 16, 2022
[Snyk] Security upgrade mocha from 6.2.3 to 10.1.0 adamlaska/node#79
Open
This was referenced Oct 16, 2022
[Snyk] Security upgrade mocha from 7.2.0 to 10.1.0 baby636/node#69
Open
[Snyk] Security upgrade mocha from 5.2.0 to 10.1.0 baby636/node#70
Open
@ron-a20 ron-a20 mentioned this pull request Oct 17, 2022
[Snyk] Security upgrade mocha from 5.2.0 to 10.1.0 ron-a20/node#78
Open
@jhudaz jhudaz mentioned this pull request Oct 17, 2022
[Snyk] Security upgrade mocha from 5.2.0 to 10.1.0 jhudaz/node#40
Open
@snyk-bot snyk-bot mentioned this pull request Oct 17, 2022
[Snyk] Security upgrade mocha from 5.2.0 to 10.1.0 baby636/node#71
Open
@kissofire kissofire mentioned this pull request Oct 17, 2022
[Snyk] Security upgrade mocha from 5.2.0 to 10.1.0 kissofire/node#79
Open
This was referenced Oct 17, 2022
[Snyk] Fix for 1 vulnerabilities adamlaska/node#81
Open
[Snyk] Fix for 1 vulnerabilities adamlaska/node#82
Open
[Snyk] Security upgrade mocha from 5.0.4 to 10.1.0 adamlaska/node#83
Open
@Verdinjoshua26 Verdinjoshua26 mentioned this pull request Oct 17, 2022
[Snyk] Security upgrade mocha from 5.2.0 to 10.1.0 Verdinjoshua26/node#35
Open
This was referenced Jul 7, 2023
[Snyk] Security upgrade mocha from 8.4.0 to 10.1.0 leonardoadame/node#46
Open
[Snyk] Security upgrade mocha from 9.2.2 to 10.1.0 leonardoadame/node#47
Open
[Snyk] Security upgrade mocha from 3.5.3 to 10.1.0 leonardoadame/node#55
Open
[Snyk] Fix for 4 vulnerabilities leonardoadame/node#56
Open
[Snyk] Fix for 8 vulnerabilities leonardoadame/node#59
Open
[Snyk] Security upgrade mocha from 9.2.0 to 10.1.0 leonardoadame/node#61
Open
[Snyk] Fix for 4 vulnerabilities leonardoadame/node#63
Open
[Snyk] Fix for 21 vulnerabilities leonardoadame/node#65
Open
[Snyk] Fix for 11 vulnerabilities leonardoadame/node#68
Open
[Snyk] Fix for 13 vulnerabilities leonardoadame/node#69
Open
[Snyk] Fix for 8 vulnerabilities leonardoadame/node#70
Open
[Snyk] Security upgrade mocha from 7.2.0 to 10.1.0 leonardoadame/node#72
Open
[Snyk] Fix for 22 vulnerabilities leonardoadame/node#75
Open
[Snyk] Security upgrade mocha from 7.2.0 to 10.1.0 leonardoadame/node#85
Merged
[Snyk] Fix for 4 vulnerabilities leonardoadame/node#86
Open
[Snyk] Fix for 22 vulnerabilities leonardoadame/node#89
Open
[Snyk] Security upgrade mocha from 8.4.0 to 10.1.0 leonardoadame/node#91
Open
[Snyk] Security upgrade mocha from 9.2.2 to 10.1.0 leonardoadame/node#98
Open
[Snyk] Security upgrade mocha from 6.2.3 to 10.1.0 leonardoadame/node#105
Open
[Snyk] Security upgrade mocha from 8.4.0 to 10.1.0 leonardoadame/node#110
Open
[Snyk] Fix for 25 vulnerabilities leonardoadame/node#114
Open
[Snyk] Security upgrade mocha from 9.2.2 to 10.1.0 leonardoadame/node#116
Open
[Snyk] Security upgrade mocha from 9.2.2 to 10.1.0 leonardoadame/node#123
Open
[Snyk] Fix for 9 vulnerabilities leonardoadame/node#126
Open
[Snyk] Security upgrade mocha from 5.0.0 to 10.1.0 leonardoadame/node#127
Open
[Snyk] Fix for 9 vulnerabilities leonardoadame/node#128
Open
[Snyk] Security upgrade mocha from 8.4.0 to 10.1.0 leonardoadame/node#131
Open
[Snyk] Fix for 3 vulnerabilities leonardoadame/node#139
Open
[Snyk] Security upgrade mocha from 9.2.0 to 10.1.0 leonardoadame/node#142
Open
@snyk-io snyk-io Bot mentioned this pull request Oct 21, 2024
[Snyk] Fix for 26 vulnerabilities Graybar-codespace/node#49
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

fs Issues and PRs related to file-system APIs and the fs module. test Issues and PRs related to Node.js core tests and test infrastructure.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@drewfish @mscdex @MylesBorins
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.