diff options
author | Mikio Hara <mikioh.mikioh@gmail.com> | 2018-02-14 05:33:15 +0900 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-02-15 17:24:42 +0000 |
commit | d50bb8dbb9d13858319db0914068126ed78e5144 (patch) | |
tree | 23735e4013713615d1c578f3073fe62a6a4ba130 /src/net/protoconn_test.go | |
parent | 9542ba674d9de639ab439962fb6b308289687219 (diff) | |
download | go-git-d50bb8dbb9d13858319db0914068126ed78e5144.tar.gz |
all: drop support for Windows Vista or below (Windows XP)
Per the notice in the Go 1.10 release notes, this change drops the
support for Windows Vista or below (including Windows XP) and
simplifies the code for the sake of maintenance.
There is one exception to the above. The code related to DLL and
system calls still remains in the runtime package. The remaining code
will be refined and used for supporting upcoming Windows versions in
future.
Updates #17245
Fixes #23072
Change-Id: I9e2821721f25ef9b83dfbf85be2b7ee5d9023aa5
Reviewed-on: https://go-review.googlesource.com/94255
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/net/protoconn_test.go')
-rw-r--r-- | src/net/protoconn_test.go | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/net/protoconn_test.go b/src/net/protoconn_test.go index def8d657f1..05c45d02b9 100644 --- a/src/net/protoconn_test.go +++ b/src/net/protoconn_test.go @@ -8,7 +8,6 @@ package net import ( - "internal/testenv" "os" "runtime" "testing" @@ -139,15 +138,11 @@ func TestUDPConnSpecificMethods(t *testing.T) { if _, _, err := c.ReadFromUDP(rb); err != nil { t.Fatal(err) } - if testenv.IsWindowsXP() { - t.Log("skipping broken test on Windows XP (see golang.org/issue/23072)") - } else { - if _, _, err := c.WriteMsgUDP(wb, nil, c.LocalAddr().(*UDPAddr)); err != nil { - condFatalf(t, c.LocalAddr().Network(), "%v", err) - } - if _, _, _, _, err := c.ReadMsgUDP(rb, nil); err != nil { - condFatalf(t, c.LocalAddr().Network(), "%v", err) - } + if _, _, err := c.WriteMsgUDP(wb, nil, c.LocalAddr().(*UDPAddr)); err != nil { + condFatalf(t, c.LocalAddr().Network(), "%v", err) + } + if _, _, _, _, err := c.ReadMsgUDP(rb, nil); err != nil { + condFatalf(t, c.LocalAddr().Network(), "%v", err) } if f, err := c.File(); err != nil { |