net: fix windows build (?)

TBR=adg
CC=golang-dev
https://golang.org/cl/4083042
This commit is contained in:
Russ Cox 2011-01-20 00:16:16 -05:00
parent b15c851db2
commit b7bf2a3a0b
2 changed files with 8 additions and 0 deletions

View File

@ -7,6 +7,7 @@ package net
import (
"flag"
"regexp"
"runtime"
"testing"
)
@ -103,6 +104,9 @@ var revAddrTests = []struct {
}
func TestReverseAddress(t *testing.T) {
if runtime.GOOS == "windows" {
return
}
for i, tt := range revAddrTests {
a, e := reverseaddr(tt.Addr)
if len(tt.ErrPrefix) > 0 && e == nil {

View File

@ -81,3 +81,7 @@ func LookupPort(network, service string) (port int, err os.Error) {
func isDomainName(s string) bool {
panic("unimplemented")
}
func resolveaddr(addr string) (arpa string, err os.Error) {
panic("unimplemented")
}