aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2018-01-10 19:15:36 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2018-01-10 19:59:44 +0000
commitc5d744a4f6b12a858fe549ddafde7a5bb81c7082 (patch)
treee909fe5ced25ece427190995d2019a0584e979c2
parente7303a72dbd8dd965fbaa2f0cf74c5c0bb70ed8d (diff)
downloadgo-c5d744a4f6b12a858fe549ddafde7a5bb81c7082.tar.gz
go-c5d744a4f6b12a858fe549ddafde7a5bb81c7082.zip
os/exec: skip TestContextCancel on the Windows XP builder
Updates #17245 Change-Id: I3d7ea362809040fbbba4b33efd57bf2d27d4c390 Reviewed-on: https://go-review.googlesource.com/87257 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-rw-r--r--src/os/exec/exec_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/os/exec/exec_test.go b/src/os/exec/exec_test.go
index ed2a55557d..d29ae697f9 100644
--- a/src/os/exec/exec_test.go
+++ b/src/os/exec/exec_test.go
@@ -1005,6 +1005,9 @@ func TestContext(t *testing.T) {
}
func TestContextCancel(t *testing.T) {
+ if testenv.Builder() == "windows-386-xp" {
+ t.Skipf("known to fail on Windows XP. Issue 17245")
+ }
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
c := helperCommandContext(t, ctx, "cat")