From: Brad Fitzpatrick Date: Wed, 10 Jan 2018 19:15:36 +0000 (+0000) Subject: os/exec: skip TestContextCancel on the Windows XP builder X-Git-Tag: go1.10beta2~11 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c5d744a4f6b12a858fe549ddafde7a5bb81c7082;p=gostls13.git 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 --- 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")