]> Cypherpunks.ru repositories - gostls13.git/commit
net/http/cgi: skip tests if not functional perl
authorKyohei Kadota <lufia@lufia.org>
Thu, 26 Sep 2019 04:39:52 +0000 (13:39 +0900)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 2 Oct 2019 05:52:16 +0000 (05:52 +0000)
commit148ec3e3bc8083ccb9ac9b7050ce540d1e0f0539
tree35176a6b8768ccc702d42fa24a79704843394f69
parente79b57d6c40a25393b2d831b244b19548e23b8a4
net/http/cgi: skip tests if not functional perl

TestEnvOverride sets PATH to /wibble before executing a CGI.
So customized Perl that is starting with '#!/usr/bin/env bash' will fail
because /usr/bin/env can't lookup bash.

Fixes #27790

Change-Id: I25e433061a7ff9da8c86429e934418fc15f12f90
Reviewed-on: https://go-review.googlesource.com/c/go/+/196845
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/net/http/cgi/host_test.go