]> Cypherpunks repositories - gostls13.git/commit
net: improve test coverage for syscall.RawConn
authorMikio Hara <mikioh.mikioh@gmail.com>
Tue, 20 Feb 2018 01:21:36 +0000 (10:21 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Sat, 31 Mar 2018 23:41:59 +0000 (23:41 +0000)
commit917c33fe8672116b04848cf11545296789cafd3b
tree2b44521ad20090a6148923b44880ae4bfa7fe3b8
parenta30d24fad99a95c8f65f8677ad9404e090aeb13a
net: improve test coverage for syscall.RawConn

An application using syscall.RawConn in a particular way must take
account of the operating system or platform-dependent behavior.
This change consolidates duplicate code and improves the test coverage
for applications that use socket options.

Change-Id: Ie42340ac5373875cf1fd9123df0e99a1e7ac280f
Reviewed-on: https://go-review.googlesource.com/95335
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/rawconn_stub_test.go [new file with mode: 0644]
src/net/rawconn_test.go [new file with mode: 0644]
src/net/rawconn_unix_test.go
src/net/rawconn_windows_test.go