mirror of
https://github.com/golang/go
synced 2024-11-23 15:40:06 -07:00
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>
This commit is contained in:
parent
e7303a72db
commit
c5d744a4f6
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user