diff options
-rw-r--r-- | src/syscall/exec_unix_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/syscall/exec_unix_test.go b/src/syscall/exec_unix_test.go index 722534af78..7f68319517 100644 --- a/src/syscall/exec_unix_test.go +++ b/src/syscall/exec_unix_test.go @@ -219,6 +219,7 @@ func TestForeground(t *testing.T) { // TestExec is for issue #41702. func TestExec(t *testing.T) { + testenv.MustHaveExec(t) cmd := exec.Command(os.Args[0], "-test.run=TestExecHelper") cmd.Env = append(os.Environ(), "GO_WANT_HELPER_PROCESS=2") o, err := cmd.CombinedOutput() |