net: pass tests on Plan 9

Ignore problematic tests and un-ignore one
we can now pass.

R=rsc, rminnich, ality, dave, bradfitz
CC=golang-dev
https://golang.org/cl/7396060
This commit is contained in:
Akshat Kumar 2013-02-28 07:18:02 +01:00 committed by Ron Minnich
parent 322214cf54
commit b2249f2018
4 changed files with 25 additions and 1 deletions

View file

@ -25,6 +25,11 @@ var condErrorf = func() func(*testing.T, string, ...interface{}) {
}()
func TestTCPListenerSpecificMethods(t *testing.T) {
switch runtime.GOOS {
case "plan9":
t.Skipf("skipping test on %q", runtime.GOOS)
}
la, err := ResolveTCPAddr("tcp4", "127.0.0.1:0")
if err != nil {
t.Fatalf("net.ResolveTCPAddr failed: %v", err)