diff --git a/src/os/executable_test.go b/src/os/executable_test.go index 8d1794d340..c835bb436b 100644 --- a/src/os/executable_test.go +++ b/src/os/executable_test.go @@ -89,7 +89,7 @@ func init() { } func TestExecutableDeleted(t *testing.T) { - testenv.MustHaveExec(t) + testenv.MustHaveGoBuild(t) switch runtime.GOOS { case "windows", "plan9": t.Skipf("%v does not support deleting running binary", runtime.GOOS)