This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug go/48017] New: Network tests should fail gracefully without network connectivity


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]