From d6c1c75eab4ec5928bef4e365d2944d7fc0c2862 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Wed, 29 May 2013 15:00:51 -0400 Subject: [PATCH] go.tools/cmd/vet: say ./testvet instead of testvet I bet "." is not in the default PATH. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/9867043 --- cmd/vet/vet_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/vet/vet_test.go b/cmd/vet/vet_test.go index ad6c72cc..fa8d9f22 100644 --- a/cmd/vet/vet_test.go +++ b/cmd/vet/vet_test.go @@ -48,7 +48,7 @@ func TestVet(t *testing.T) { files := append(gos, asms...) errchk := filepath.Join(runtime.GOROOT(), "test", "errchk") flags := []string{ - binary, + "./" + binary, "-printfuncs=Warn:1,Warnf:1", } cmd = exec.Command(errchk, append(flags, files...)...)