| 1 |
// Copyright 2015 The Go Authors. All rights reserved. |
| 2 |
// Use of this source code is governed by a BSD-style |
| 3 |
// license that can be found in the LICENSE file. |
| 4 |
|
| 5 |
package net |
| 6 |
|
| 7 |
import "os/exec" |
| 8 |
|
| 9 |
func installTestHooks() {} |
| 10 |
|
| 11 |
func uninstallTestHooks() {} |
| 12 |
|
| 13 |
// forceCloseSockets must be called only from TestMain. |
| 14 |
func forceCloseSockets() {} |
| 15 |
|
| 16 |
func enableSocketConnect() {} |
| 17 |
|
| 18 |
func disableSocketConnect(network string) {} |
| 19 |
|
| 20 |
func addCmdInheritedHandle(cmd *exec.Cmd, fd uintptr) {} |