diff options
Diffstat (limited to 'src/syscall/exec_unix_test.go')
| -rw-r--r-- | src/syscall/exec_unix_test.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/syscall/exec_unix_test.go b/src/syscall/exec_unix_test.go index ff8261111e..9bb95c0f39 100644 --- a/src/syscall/exec_unix_test.go +++ b/src/syscall/exec_unix_test.go @@ -7,11 +7,11 @@ package syscall_test import ( + "internal/testenv" "io" "os" "os/exec" "os/signal" - "runtime" "syscall" "testing" "unsafe" @@ -48,9 +48,8 @@ func (c *command) Stop() { } func create(t *testing.T) *command { - if runtime.GOOS == "darwin" && (runtime.GOARCH == "arm" || runtime.GOARCH == "arm64") { - t.Skipf("skipping on %s/%s, cannot fork", runtime.GOOS, runtime.GOARCH) - } + testenv.MustHaveExec(t) + proc := exec.Command("cat") stdin, err := proc.StdinPipe() if err != nil { |
