mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
net: Plan 9 fixes
Makes all tests pass. R=rsc CC=golang-dev https://golang.org/cl/5320041
This commit is contained in:
parent
350a5ce64f
commit
5842336089
5 changed files with 42 additions and 4 deletions
|
|
@ -8,6 +8,7 @@ import (
|
|||
"flag"
|
||||
"os"
|
||||
"regexp"
|
||||
"runtime"
|
||||
"testing"
|
||||
)
|
||||
|
||||
|
|
@ -128,6 +129,9 @@ func TestReverseAddress(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestShutdown(t *testing.T) {
|
||||
if runtime.GOOS == "plan9" {
|
||||
return
|
||||
}
|
||||
l, err := Listen("tcp", "127.0.0.1:0")
|
||||
if err != nil {
|
||||
if l, err = Listen("tcp6", "[::1]:0"); err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue