From d90a81c39f06351ce6524a1ae15499d2d60253c8 Mon Sep 17 00:00:00 2001 From: Dmitriy Vyukov Date: Wed, 14 Aug 2013 00:44:57 +0400 Subject: [PATCH] net: fix windows build Windows builders say: pkg\net\dnsclient_unix_test.go:24: undefined: dnsConfig pkg\net\dnsclient_unix_test.go:25: undefined: exchange R=golang-dev CC=golang-dev https://golang.org/cl/12889043 --- src/pkg/net/dnsclient_unix_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pkg/net/dnsclient_unix_test.go b/src/pkg/net/dnsclient_unix_test.go index fe51f229e5..97e55489c1 100644 --- a/src/pkg/net/dnsclient_unix_test.go +++ b/src/pkg/net/dnsclient_unix_test.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build darwin freebsd linux netbsd openbsd + package net import ( @@ -10,9 +12,6 @@ import ( ) func TestTCPLookup(t *testing.T) { - if runtime.GOOS == "windows" || runtime.GOOS == "plan9" { - t.Skip("skipping unix dns test") - } if testing.Short() || !*testExternal { t.Skip("skipping test to avoid external network") } -- 2.48.1