diff --git a/cmd/vet/vet_test.go b/cmd/vet/vet_test.go index 235c1b9b04..65fefb950f 100644 --- a/cmd/vet/vet_test.go +++ b/cmd/vet/vet_test.go @@ -24,9 +24,10 @@ const ( // rm testvet // func TestVet(t *testing.T) { - // Windows systems can't be guaranteed to have Perl and so can't run errchk. - if runtime.GOOS == "windows" { - t.Skip("skipping test; no Perl on Windows") + // Plan 9 and Windows systems can't be guaranteed to have Perl and so can't run errchk. + switch runtime.GOOS { + case "plan9", "windows": + t.Skip("skipping test; no Perl on %q", runtime.GOOS) } // go build