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: add regression test for #11257 #20391

Closed
wants to merge 1 commit into from
Closed

Conversation

bcoe
Copy link
Contributor

@bcoe bcoe commented Apr 28, 2018

adds regression test for #11257, I've confirmed that this test fails on versions of Node < 8, and works on latest.

CC: @michaelglass, @addaleax

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 the tests. label Apr 28, 2018
@Trott
Copy link
Member

Trott commented Apr 29, 2018

There's a couple of lint issues with the file. Run make lint-js (or, I think, vcbuild lint-js if you are on Windows) to see them. (Incidentally, make -j4 test will also run the linter, assuming no tests are failing.)

@apapirovski
Copy link
Member

@bcoe
Copy link
Contributor Author

bcoe commented May 4, 2018

I'm digging into the Windows test failure, it's taking me a little while to get my Windows development environment back in tip-top shape.

@bcoe
Copy link
Contributor Author

bcoe commented May 4, 2018

@apapirovski okay, you should be able to kick of Windows tests again.


stream.on('open', () => {
spawn(process.execPath, {
input: `require("${fakeModulePath.replace(/\\/g, '/')}")`,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this was resulting in require("C:\\foo\bar") vs., require("c:\\\\foo\\bar\\apple").

Copy link
Member

@mhdawson mhdawson left a comment

Choose a reason for hiding this comment

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

LGTM

@mhdawson
Copy link
Member

mhdawson commented May 7, 2018

@mhdawson
Copy link
Member

CI was good landing.

@mhdawson
Copy link
Member

Landed as d942573

@mhdawson mhdawson closed this May 10, 2018
mhdawson pushed a commit that referenced this pull request May 10, 2018
Refs: #11257

PR-URL: #20391
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
targos pushed a commit that referenced this pull request May 12, 2018
Refs: #11257

PR-URL: #20391
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
@addaleax addaleax mentioned this pull request May 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants