/
/
opt
/
golang
/
1.19.4
/
src
/
os
Server: in-mum-web1112.main-hosting.eu (62.72.28.111)
You: 216.73.216.137
PHP 8.3.16
Dir:
/opt/golang/1.19.4/src/os
Edit:
/opt/golang/1.19.4/src/os/exec_unix_test.go
// Copyright 2020 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build unix package os_test import ( "internal/testenv" . "os" "testing" ) func TestErrProcessDone(t *testing.T) { testenv.MustHaveGoBuild(t) path, err := testenv.GoTool() if err != nil { t.Errorf("finding go tool: %v", err) } p, err := StartProcess(path, []string{"go"}, &ProcAttr{}) if err != nil { t.Errorf("starting test process: %v", err) } p.Wait() if got := p.Signal(Kill); got != ErrProcessDone { t.Errorf("got %v want %v", got, ErrProcessDone) } }
Ukuran: 643 B