aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec/exec_windows_test.go
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2022-04-21 13:58:06 -0400
committerGopher Robot <gobot@golang.org>2022-10-25 03:34:36 +0000
commit55eaae452cf69df768b2aaf6045db22d6c1a4029 (patch)
treeb52774534f7ef8dc00fd4fde657c15b139dd57f2 /src/os/exec/exec_windows_test.go
parent9fffcde118ee3d2522744661b1af1eafb1008667 (diff)
downloadgo-55eaae452cf69df768b2aaf6045db22d6c1a4029.tar.xz
os/exec: add the Cancel and WaitDelay fields
Fixes #50436. Change-Id: I9dff8caa317a04b7b2b605f810b8f12ef8ca485d Reviewed-on: https://go-review.googlesource.com/c/go/+/401835 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Bryan Mills <bcmills@google.com> Auto-Submit: Bryan Mills <bcmills@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/os/exec/exec_windows_test.go')
-rw-r--r--src/os/exec/exec_windows_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/os/exec/exec_windows_test.go b/src/os/exec/exec_windows_test.go
index 9dec72b3e1..b39790d61a 100644
--- a/src/os/exec/exec_windows_test.go
+++ b/src/os/exec/exec_windows_test.go
@@ -17,6 +17,11 @@ import (
"testing"
)
+var (
+ quitSignal os.Signal = nil
+ pipeSignal os.Signal = syscall.SIGPIPE
+)
+
func init() {
registerHelperCommand("pipehandle", cmdPipeHandle)
}