]> Cypherpunks repositories - gostls13.git/commit
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)
committerAlex Brainman <alex.brainman@gmail.com>
Fri, 11 Aug 2017 04:10:13 +0000 (04:10 +0000)
commit49ab0dba561ba1abd8b6b001789a155f47a8cb34
tree22da3f9239f6794c41e49bae568d11c7df2bb52f
parent310ba828289f8c4924bc0f319b72e151f5f079f7
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>
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]