-
Notifications
You must be signed in to change notification settings - Fork 18k
net/http/cgi: TestDirWindows fails on Windows when perl
is installed
#63800
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
Comments
It looks like this comes from a bad Perl script here: (attn @golang/windows) |
perl
is installed
Perhaps the test's Perl script could be fixed, but I think it would be better still to rewrite the test CGI handler in Go, for which I have filed #63828. |
The net/http/cgi package previously relied on a Perl script for some of its tests, which caused sporadic failures due to bugs in the Perl script. These failures were often masked because the tests were skipped on builders without Perl installed. However, this reliance on Perl made it more challenging for Go maintainers to review and maintain the code since not everyone was familiar with Perl. To address this issue and improve maintainability, I have removed the dependency on Perl in the tests. Instead, the tests now build a handler written in Go, ensuring consistent behavior across different environments. This change aligns with previous efforts to minimize or eliminate the use of Perl in various parts of the Go codebase golang#20032,golang#25586,golang#25669,golang#27779. By eliminating the Perl script from net/http/cgi tests, we can enhance the reliability and ease of maintenance for these tests going forward. Fixes golang#63800 Fixes golang#63828
Change https://go.dev/cl/538861 mentions this issue: |
The net/http/cgi package previously relied on a Perl script for some of its tests, which caused sporadic failures due to bugs in the Perl script. These failures were often masked because the tests were skipped on builders without Perl installed. However, this reliance on Perl made it more challenging for Go maintainers to review and maintain the code since not everyone was familiar with Perl. To address this issue and improve maintainability, I have removed the dependency on Perl in the tests. Instead, the tests now build a handler written in Go, ensuring consistent behavior across different environments. This change aligns with previous efforts to minimize or eliminate the use of Perl in various parts of the Go codebase golang#20032,golang#25586,golang#25669,golang#27779. By eliminating the Perl script from net/http/cgi tests, we can enhance the reliability and ease of maintenance for these tests going forward. Fixes golang#63800 Fixes golang#63828 Change-Id: I8d554af93d4070036cf0cc3aaa9c9b256affbd17 GitHub-Last-Rev: b652d18 GitHub-Pull-Request: golang#63869
The net/http/cgi package previously relied on a Perl script for some of its tests, which caused sporadic failures due to bugs in the Perl script. These failures were often masked because the tests were skipped on builders without Perl installed. However, this reliance on Perl made it more challenging for Go maintainers to review and maintain the code since not everyone was familiar with Perl. To address this issue and improve maintainability, I have removed the dependency on Perl in the tests. Instead, the tests now build a handler written in Go, ensuring consistent behavior across different environments. This change aligns with previous efforts to minimize or eliminate the use of Perl in various parts of the Go codebase golang#20032,golang#25586,golang#25669,golang#27779. By eliminating the Perl script from net/http/cgi tests, we can enhance the reliability and ease of maintenance for these tests going forward. Fixes golang#63800 Fixes golang#63828
The net/http/cgi package previously relied on a Perl script for some of its tests, which caused sporadic failures due to bugs in the Perl script. These failures were often masked because the tests were skipped on builders without Perl installed. However, this reliance on Perl made it more challenging for Go maintainers to review and maintain the code since not everyone was familiar with Perl. To address this issue and improve maintainability, I have removed the dependency on Perl in the tests. Instead, the tests now build a handler written in Go, ensuring consistent behavior across different environments. This change aligns with previous efforts to minimize or eliminate the use of Perl in various parts of the Go codebase golang#20032,golang#25586,golang#25669,golang#27779. By eliminating the Perl script from net/http/cgi tests, we can enhance the reliability and ease of maintenance for these tests going forward. Fixes golang#63800 Fixes golang#63828
The net/http/cgi package previously relied on a Perl script for some of its tests, which caused sporadic failures due to bugs in the Perl script. These failures were often masked because the tests were skipped on builders without Perl installed. However, this reliance on Perl made it more challenging for Go maintainers to review and maintain the code since not everyone was familiar with Perl. To address this issue and improve maintainability, I have removed the dependency on Perl in the tests. Instead, the tests now build a handler written in Go, ensuring consistent behavior across different environments. This change aligns with previous efforts to minimize or eliminate the use of Perl in various parts of the Go codebase By eliminating the Perl script from net/http/cgi tests, we can enhance the reliability and ease of maintenance for these tests going forward. Fixes golang#63800 Fixes golang#63828
The net/http/cgi package previously relied on a Perl script for some of its tests, which caused sporadic failures due to bugs in the Perl script. These failures were often masked because the tests were skipped on builders without Perl installed. However, this reliance on Perl made it more challenging for Go maintainers to review and maintain the code since not everyone was familiar with Perl. To address this issue and improve maintainability, I have removed the dependency on Perl in the tests. Instead, the tests now build a handler written in Go, ensuring consistent behavior across different environments. This change aligns with previous efforts to minimize or eliminate the use of Perl in various parts of the Go codebase By eliminating the Perl script from net/http/cgi tests, we can enhance the reliability and ease of maintenance for these tests going forward. Fixes golang#63800 Fixes golang#63828
Previously, a Perl script was used to test the net/http/cgi package. This sometimes led to hidden failures as these tests were not run on builders without Perl. Also, this approach posed maintenance difficulties for those unfamiliar with Perl. We have now replaced Perl-based tests with a Go handler to simplify maintenance and ensure consistent testing environments. It's part of our ongoing effort to reduce reliance on Perl throughout the Go codebase (see golang#20032,golang#25586,golang#25669,golang#27779), thus improving reliability and ease of maintenance. Fixes golang#63800 Fixes golang#63828 Change-Id: I8d554af93d4070036cf0cc3aaa9c9b256affbd17 GitHub-Last-Rev: c44cd69 GitHub-Pull-Request: golang#63869
Previously, a Perl script was used to test the net/http/cgi package. This sometimes led to hidden failures as these tests were not run on builders without Perl. Also, this approach posed maintenance difficulties for those unfamiliar with Perl. We have now replaced Perl-based tests with a Go handler to simplify maintenance and ensure consistent testing environments. It's part of our ongoing effort to reduce reliance on Perl throughout the Go codebase (see golang#20032,golang#25586,golang#25669,golang#27779), thus improving reliability and ease of maintenance. Fixes golang#63800 Fixes golang#63828 Change-Id: I8d554af93d4070036cf0cc3aaa9c9b256affbd17 GitHub-Last-Rev: c44cd69 GitHub-Pull-Request: golang#63869
Previously, a Perl script was used to test the net/http/cgi package. This sometimes led to hidden failures as these tests were not run on builders without Perl. Also, this approach posed maintenance difficulties for those unfamiliar with Perl. We have now replaced Perl-based tests with a Go handler to simplify maintenance and ensure consistent testing environments. It's part of our ongoing effort to reduce reliance on Perl throughout the Go codebase (see golang#20032,golang#25586,golang#25669,golang#27779), thus improving reliability and ease of maintenance. Fixes golang#63800 Fixes golang#63828 Change-Id: I8d554af93d4070036cf0cc3aaa9c9b256affbd17 GitHub-Last-Rev: c44cd69 GitHub-Pull-Request: golang#63869
Previously, a Perl script was used to test the net/http/cgi package. This sometimes led to hidden failures as these tests were not run on builders without Perl. Also, this approach posed maintenance difficulties for those unfamiliar with Perl. We have now replaced Perl-based tests with a Go handler to simplify maintenance and ensure consistent testing environments. It's part of our ongoing effort to reduce reliance on Perl throughout the Go codebase (see golang#20032,golang#25586,golang#25669,golang#27779), thus improving reliability and ease of maintenance. Fixes golang#63800 Fixes golang#63828 Change-Id: I8d554af93d4070036cf0cc3aaa9c9b256affbd17 GitHub-Last-Rev: c44cd69 GitHub-Pull-Request: golang#63869
Previously, a Perl script was used to test the net/http/cgi package. This sometimes led to hidden failures as these tests were not run on builders without Perl. Also, this approach posed maintenance difficulties for those unfamiliar with Perl. We have now replaced Perl-based tests with a Go handler to simplify maintenance and ensure consistent testing environments. It's part of our ongoing effort to reduce reliance on Perl throughout the Go codebase (see golang#20032,golang#25586,golang#25669,golang#27779), thus improving reliability and ease of maintenance. Fixes golang#63800 Fixes golang#63828 Change-Id: I8d554af93d4070036cf0cc3aaa9c9b256affbd17 GitHub-Last-Rev: c44cd69 GitHub-Pull-Request: golang#63869
Previously, a Perl script was used to test the net/http/cgi package. This sometimes led to hidden failures as these tests were not run on builders without Perl. Also, this approach posed maintenance difficulties for those unfamiliar with Perl. We have now replaced Perl-based tests with a Go handler to simplify maintenance and ensure consistent testing environments. It's part of our ongoing effort to reduce reliance on Perl throughout the Go codebase (see golang#20032,golang#25586,golang#25669,golang#27779), thus improving reliability and ease of maintenance. Fixes golang#63800 Fixes golang#63828 Change-Id: I8d554af93d4070036cf0cc3aaa9c9b256affbd17 GitHub-Last-Rev: c44cd69 GitHub-Pull-Request: golang#63869
Previously, a Perl script was used to test the net/http/cgi package. This sometimes led to hidden failures as these tests were not run on builders without Perl. Also, this approach posed maintenance difficulties for those unfamiliar with Perl. We have now replaced Perl-based tests with a Go handler to simplify maintenance and ensure consistent testing environments. It's part of our ongoing effort to reduce reliance on Perl throughout the Go codebase (see golang#20032,golang#25586,golang#25669,golang#27779), thus improving reliability and ease of maintenance. Fixes golang#63800 Fixes golang#63828 Change-Id: I8d554af93d4070036cf0cc3aaa9c9b256affbd17 GitHub-Last-Rev: c44cd69 GitHub-Pull-Request: golang#63869
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Install Git-2.42.0.2-64-bit.exe,There's perl in here.
go test net/http/cgi
What did you expect to see?
test passed.
What did you see instead?
The text was updated successfully, but these errors were encountered: