diff options
Diffstat (limited to 'libgo/go/net/main_unix_test.go')
-rw-r--r-- | libgo/go/net/main_unix_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libgo/go/net/main_unix_test.go b/libgo/go/net/main_unix_test.go index bfb4cd0..0cc129f 100644 --- a/libgo/go/net/main_unix_test.go +++ b/libgo/go/net/main_unix_test.go @@ -45,6 +45,7 @@ func uninstallTestHooks() { } } +// forceCloseSockets must be called only from TestMain. func forceCloseSockets() { for s := range sw.Sockets() { closeFunc(s) |