allow "no such host" and also "no answer from server";

seems to help on snow leopard.

TBR=r
http://go/go-review/1018035
This commit is contained in:
Russ Cox 2009-11-04 08:30:53 -08:00
parent 506ce11f03
commit af2bc8f986

View File

@ -31,7 +31,7 @@ var dialErrorTests = []DialErrorTest {
}, },
DialErrorTest{ DialErrorTest{
"tcp", "", "no-such-name.no-such-top-level-domain.:80", "tcp", "", "no-such-name.no-such-top-level-domain.:80",
"dial tcp no-such-name.no-such-top-level-domain.:80: lookup no-such-name.no-such-top-level-domain.( on .*)?: no such host", "dial tcp no-such-name.no-such-top-level-domain.:80: lookup no-such-name.no-such-top-level-domain.( on .*)?: no (.*)",
}, },
DialErrorTest{ DialErrorTest{
"tcp", "", "no-such-name:80", "tcp", "", "no-such-name:80",