From c5d744a4f6b12a858fe549ddafde7a5bb81c7082 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Wed, 10 Jan 2018 19:15:36 +0000 Subject: [PATCH] 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 Run-TryBot: Ian Lance Taylor TryBot-Result: Gobot Gobot --- src/os/exec/exec_test.go | 3 +++ 1 file changed, 3 insertions(+) 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") -- 2.50.0