mirror of https://github.com/golang/go.git
net: really skip Windows PTR tests if we say we are skipping them
For #38111 Change-Id: I2651687367af68ee070ea91106f4bc18adab2762 Reviewed-on: https://go-review.googlesource.com/c/go/+/414634 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Bryan Mills <bcmills@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
parent
a42573c2f1
commit
3af5280c00
|
|
@ -156,7 +156,7 @@ func TestLookupLocalPTR(t *testing.T) {
|
|||
}
|
||||
expected, err := lookupPTR(addr.String())
|
||||
if err != nil {
|
||||
t.Logf("skipping failed lookup %s test: %s", addr.String(), err)
|
||||
t.Skipf("skipping failed lookup %s test: %s", addr.String(), err)
|
||||
}
|
||||
sort.Strings(expected)
|
||||
sort.Strings(names)
|
||||
|
|
@ -179,6 +179,7 @@ func TestLookupPTR(t *testing.T) {
|
|||
expected, err := lookupPTR(addr)
|
||||
if err != nil {
|
||||
t.Logf("skipping failed lookup %s test: %s", addr, err)
|
||||
continue
|
||||
}
|
||||
sort.Strings(expected)
|
||||
sort.Strings(names)
|
||||
|
|
|
|||
Loading…
Reference in New Issue