Commit 78fbe902 authored by Robert Hencke's avatar Robert Hencke Committed by Ian Lance Taylor

net/tcp: fix check for openbsd in test

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://golang.org/cl/98740045
parent 6607534d
...@@ -399,7 +399,7 @@ func TestIPv6LinkLocalUnicastTCP(t *testing.T) { ...@@ -399,7 +399,7 @@ func TestIPv6LinkLocalUnicastTCP(t *testing.T) {
{"tcp6", "[" + laddr + "%" + ifi.Name + "]:0", false}, {"tcp6", "[" + laddr + "%" + ifi.Name + "]:0", false},
} }
switch runtime.GOOS { switch runtime.GOOS {
case "darwin", "freebsd", "opensbd", "netbsd": case "darwin", "freebsd", "openbsd", "netbsd":
tests = append(tests, []test{ tests = append(tests, []test{
{"tcp", "[localhost%" + ifi.Name + "]:0", true}, {"tcp", "[localhost%" + ifi.Name + "]:0", true},
{"tcp6", "[localhost%" + ifi.Name + "]:0", true}, {"tcp6", "[localhost%" + ifi.Name + "]:0", true},
......
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