From: Russ Cox Date: Sat, 3 Oct 2009 17:35:49 +0000 (-0700) Subject: expand error regexp in dns test X-Git-Tag: weekly.2009-11-06~423 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f15300beb70586e1814782a8c61e0bdf11e0e80a;p=gostls13.git expand error regexp in dns test R=r DELTA=3 (0 added, 0 deleted, 3 changed) OCL=35292 CL=35303 --- diff --git a/src/pkg/net/net_test.go b/src/pkg/net/net_test.go index 4efb8bf8e0..d4ca287cec 100644 --- a/src/pkg/net/net_test.go +++ b/src/pkg/net/net_test.go @@ -27,15 +27,15 @@ var dialErrorTests = []DialErrorTest { }, DialErrorTest{ "tcp", "", "no-such-name.google.com.:80", - "dial tcp no-such-name.google.com.:80: lookup no-such-name.google.com.: no such host", + "dial tcp no-such-name.google.com.:80: lookup no-such-name.google.com.( on .*)?: no such host", }, DialErrorTest{ "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.: 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 such host", }, DialErrorTest{ "tcp", "", "no-such-name:80", - `dial tcp no-such-name:80: lookup no-such-name\..*\.: no such host`, + `dial tcp no-such-name:80: lookup no-such-name\..*\.( on .*)?: no such host`, }, DialErrorTest{ "tcp", "", "mh/astro/r70:http",