Skip to content

test: move buffer-as-path symlink test to its own test file - #34569

Closed
Trott wants to merge 0 commit into
nodejs:masterfrom
Trott:symlink
Closed

Trott wants to merge 0 commit into
nodejs:masterfrom
Trott:symlink

Conversation

@Trott

@Trott Trott commented Jul 30, 2020

Copy link
Copy Markdown
Member

The buffer-as-path test for fs.symlinkSync() is a bit unusual and
potentially error-prone embedded in the general fs.symlink() test. Move
it to its own test file.

Refs: https://github.com/nodejs/node/pull/34540/files#r463168354

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to Node.js core tests and test infrastructure. label Jul 30, 2020

@Trott Trott Jul 30, 2020

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't usually include the Joyent copyright in newly-written tests but this one was substantially copied from test-fs-symlink.js so the copyright is included.

@Trott Trott mentioned this pull request Jul 30, 2020
3 tasks
@mmarchini mmarchini added the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Jul 31, 2020
@Trott

Trott commented Aug 1, 2020

Copy link
Copy Markdown
Member Author

@nodejs/testing

@nodejs-github-bot

This comment has been minimized.

@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Aug 1, 2020
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

nodejs-github-bot commented Aug 1, 2020

Copy link
Copy Markdown
Collaborator

@Trott Trott added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label Aug 1, 2020
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

nodejs-github-bot commented Aug 2, 2020

Copy link
Copy Markdown
Collaborator

@Trott

Trott commented Aug 2, 2020

Copy link
Copy Markdown
Member Author

@nodejs/fs

@Trott

Trott commented Aug 2, 2020

Copy link
Copy Markdown
Member Author

@nodejs/collaborators This could use another review.

@Trott

Trott commented Aug 3, 2020

Copy link
Copy Markdown
Member Author

Landed in a9c5b87

Trott added a commit that referenced this pull request Aug 3, 2020
The buffer-as-path test for fs.symlinkSync() is a bit unusual and
potentially error-prone embedded in the general fs.symlink() test. Move
it to its own test file.

Refs: https://github.com/nodejs/node/pull/34540/files#r463168354

PR-URL: #34569
Reviewed-By: Pranshu Srivastava <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Gerhard Stöbich <[email protected]>
@Trott Trott closed this Aug 3, 2020
@Trott
Trott deleted the symlink branch August 3, 2020 00:39
codebytere pushed a commit that referenced this pull request Aug 5, 2020
The buffer-as-path test for fs.symlinkSync() is a bit unusual and
potentially error-prone embedded in the general fs.symlink() test. Move
it to its own test file.

Refs: https://github.com/nodejs/node/pull/34540/files#r463168354

PR-URL: #34569
Reviewed-By: Pranshu Srivastava <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Gerhard Stöbich <[email protected]>
@codebytere codebytere mentioned this pull request Aug 10, 2020
MylesBorins pushed a commit that referenced this pull request Aug 17, 2020
The buffer-as-path test for fs.symlinkSync() is a bit unusual and
potentially error-prone embedded in the general fs.symlink() test. Move
it to its own test file.

Refs: https://github.com/nodejs/node/pull/34540/files#r463168354

PR-URL: #34569
Reviewed-By: Pranshu Srivastava <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Gerhard Stöbich <[email protected]>
@danielleadams danielleadams mentioned this pull request Aug 20, 2020
targos pushed a commit that referenced this pull request May 1, 2021
The buffer-as-path test for fs.symlinkSync() is a bit unusual and
potentially error-prone embedded in the general fs.symlink() test. Move
it to its own test file.

Refs: https://github.com/nodejs/node/pull/34540/files#r463168354

PR-URL: #34569
Reviewed-By: Pranshu Srivastava <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Gerhard Stöbich <[email protected]>
@danielleadams danielleadams mentioned this pull request May 3, 2021
danielleadams pushed a commit that referenced this pull request May 8, 2021
The buffer-as-path test for fs.symlinkSync() is a bit unusual and
potentially error-prone embedded in the general fs.symlink() test. Move
it to its own test file.

Refs: https://github.com/nodejs/node/pull/34540/files#r463168354

PR-URL: #34569
Reviewed-By: Pranshu Srivastava <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Gerhard Stöbich <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. test Issues and PRs related to Node.js core tests and test infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants