]> Cypherpunks.ru repositories - gostls13.git/commit
[release-branch.go1.9] internal/poll: add tests for Windows file and serial ports
authorAlex Brainman <alex.brainman@gmail.com>
Mon, 7 Aug 2017 02:57:58 +0000 (12:57 +1000)
committerRuss Cox <rsc@golang.org>
Wed, 25 Oct 2017 20:22:36 +0000 (20:22 +0000)
commited3b0d63b72ffb3fc00e98af295a3add20943808
tree3cd87faed3fa21602550c73d0afc51b1c564284b
parent93322a5b3d2821ce0af70b186d8b0bd5dbbe647e
[release-branch.go1.9] internal/poll: add tests for Windows file and serial ports

I also wanted to test net sockets, but I do not know how to
access their file handles. So I did not implement socket tests.

Updates #21172

Change-Id: I5062c0e65a817571d755397d60762c175f9791ce
Reviewed-on: https://go-review.googlesource.com/53530
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-on: https://go-review.googlesource.com/71131
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
src/internal/poll/export_windows_test.go [new file with mode: 0644]
src/internal/poll/fd_windows.go
src/internal/poll/fd_windows_test.go [new file with mode: 0644]