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

os/exec: fix Win32 tests missing 'chcp' #25088

Closed
wants to merge 1 commit into from

Conversation

neolit123
Copy link
Contributor

@neolit123 neolit123 commented Apr 25, 2018

'%SystemRoot%/System32/chcp.com' is a tool on Windows that
is used to change the active code page in the console.

'go test os/exec' can fail with:
"'chcp' is not recognized as an internal or external command"

The test uses a custom PATH variable but does not include
'%SystemRoot%/System32'. Always append that to PATH.

Updates #24709

@googlebot googlebot added the cla: yes Used by googlebot to label PRs as having a valid CLA. The text of this label should not change. label Apr 25, 2018
@gopherbot
Copy link
Contributor

This PR (HEAD: c9df164) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/#/c/go/+/109361 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

'%SystemRoot%/System32/chcp.com' is a tool on Windows that
is used to change the active code page in the console.

'go test os/exec' can fail with:
"'chcp' is not recognized as an internal or external command"

The test uses a custom PATH variable but does not include
'%SystemRoot%/System32'. Always append that to PATH.

Updates golang#24709
@gopherbot
Copy link
Contributor

Message from Brad Fitzpatrick:

Patch Set 1:

No Markdown in commit messages please. See https://github.com/golang/go/wiki/CommitMessage


Please don’t reply on this GitHub thread. Visit golang.org/cl/109361.
After addressing review feedback, remember to publish your drafts!

@neolit123 neolit123 force-pushed the win32-test-fix-os/exec branch from c9df164 to fb93052 Compare April 25, 2018 20:55
@gopherbot
Copy link
Contributor

This PR (HEAD: fb93052) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/#/c/go/+/109361 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Contributor

Message from Gerrit Bot:

Uploaded patch set 2: Commit message was updated.


Please don’t reply on this GitHub thread. Visit golang.org/cl/109361.
After addressing review feedback, remember to publish your drafts!

@neolit123 neolit123 changed the title os/exec: fix Win32 tests missing chcp os/exec: fix Win32 tests missing 'chcp' Apr 25, 2018
@gopherbot
Copy link
Contributor

Message from Gerrit Bot:

Uploaded patch set 3: Commit message was updated.


Please don’t reply on this GitHub thread. Visit golang.org/cl/109361.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Brad Fitzpatrick:

Patch Set 3: Run-TryBot+1


Please don’t reply on this GitHub thread. Visit golang.org/cl/109361.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Gobot Gobot:

Patch Set 3:

TryBots beginning. Status page: https://farmer.golang.org/try?commit=acdb53ca


Please don’t reply on this GitHub thread. Visit golang.org/cl/109361.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Gobot Gobot:

Patch Set 3: TryBot-Result+1

TryBots are happy.


Please don’t reply on this GitHub thread. Visit golang.org/cl/109361.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

This PR is being closed because golang.org/cl/109361 has been merged.

@gopherbot gopherbot closed this Apr 26, 2018
gopherbot pushed a commit that referenced this pull request Apr 26, 2018
'%SystemRoot%/System32/chcp.com' is a tool on Windows that
is used to change the active code page in the console.

'go test os/exec' can fail with:
"'chcp' is not recognized as an internal or external command"

The test uses a custom PATH variable but does not include
'%SystemRoot%/System32'. Always append that to PATH.

Updates #24709

Change-Id: I1ab83b326072e3f0086b391b836234bcfd8a1fb7
GitHub-Last-Rev: fb93052
GitHub-Pull-Request: #25088
Reviewed-on: https://go-review.googlesource.com/109361
Run-TryBot: Brad Fitzpatrick <[email protected]>
TryBot-Result: Gobot Gobot <[email protected]>
Reviewed-by: Brad Fitzpatrick <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Used by googlebot to label PRs as having a valid CLA. The text of this label should not change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants