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: i...@airs.com
        ReportedBy: r...@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.

Reply via email to