Skip to content

Commit

Permalink
os/exec: skip TestContextCancel on the Windows XP builder
Browse files Browse the repository at this point in the history
Updates #17245

Change-Id: I3d7ea362809040fbbba4b33efd57bf2d27d4c390
Reviewed-on: https://go-review.googlesource.com/87257
Reviewed-by: Ian Lance Taylor <[email protected]>
Run-TryBot: Ian Lance Taylor <[email protected]>
TryBot-Result: Gobot Gobot <[email protected]>
  • Loading branch information
bradfitz committed Jan 10, 2018
1 parent e7303a7 commit c5d744a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/os/exec/exec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit c5d744a

Please sign in to comment.