Commit 684e065d authored by Alex Brainman's avatar Alex Brainman

net: disable dnsmsg_test on windows

R=golang-dev, bradfitzwork
CC=golang-dev
https://golang.org/cl/4466041
parent 37dca9d4
......@@ -6,10 +6,14 @@ package net
import (
"encoding/hex"
"runtime"
"testing"
)
func TestDNSParseSRVReply(t *testing.T) {
if runtime.GOOS == "windows" {
return
}
data, err := hex.DecodeString(dnsSRVReply)
if err != nil {
t.Fatal(err)
......@@ -41,6 +45,9 @@ func TestDNSParseSRVReply(t *testing.T) {
}
func TestDNSParseCorruptSRVReply(t *testing.T) {
if runtime.GOOS == "windows" {
return
}
data, err := hex.DecodeString(dnsSRVCorruptReply)
if err != nil {
t.Fatal(err)
......
......@@ -113,6 +113,10 @@ func reverseaddr(addr string) (arpa string, err os.Error) {
panic("unimplemented")
}
func answer(name, server string, dns *dnsMsg, qtype uint16) (cname string, addrs []dnsRR, err os.Error) {
panic("unimplemented")
}
// DNSError represents a DNS lookup error.
type DNSError struct {
Error string // description of the error
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment