]> Cypherpunks repositories - gostls13.git/commitdiff
os/exec: skip TestContextCancel on the Windows XP builder
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 10 Jan 2018 19:15:36 +0000 (19:15 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 10 Jan 2018 19:59:44 +0000 (19:59 +0000)
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>

src/os/exec/exec_test.go

index ed2a55557d549356ffe454a6b68a9724740c1ac2..d29ae697f9a940eb782b836ca0dbd6d919b5ccb8 100644 (file)
@@ -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")