This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/48017] New: Network tests should fail gracefully without network connectivity
- From: "ro at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 7 Mar 2011 14:11:05 +0000
- Subject: [Bug go/48017] New: Network tests should fail gracefully without network connectivity
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48017
Summary: Network tests should fail gracefully without network
connectivity
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: go
AssignedTo: ian@airs.com
ReportedBy: ro@gcc.gnu.org
Host: i386-pc-solaris2.11
Target: i386-pc-solaris2.11
Build: i386-pc-solaris2.11
The libgo http and net tests FAIL on systems without network connectivity:
FAIL: http
--- FAIL: http.TestClient
Get http://www.google.com/robots.txt: dial tcp www.google.com:http: dial
udp 129.70.160.15:53: Network is unreachable
--- FAIL: http.TestClientHead
dial tcp www.google.com:http: dial udp 129.70.160.15:53: Network is
unreachable
--- FAIL: http.TestRedirect
Get http://google.com/: dial tcp google.com:http: dial udp
129.70.160.15:53: Network is unreachable
FAIL: net
--- FAIL: net.TestDialGoogle
lookup www.google.com: dial udp 129.70.160.15:53: Network is unreachable
--- FAIL: net.TestGoogleSRV
failed: dial udp 129.70.160.15:53: Network is unreachable
no results
Those tests shouldn't FAIL, but instead use UNSUPPORTED (or maybe UNRESOLVED)
instead since this is an expected condition.