[libgo] Don't check gopher, http ports
Ian Lance Taylor
iant@google.com
Mon Mar 7 23:38:00 GMT 2011
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
> The gopher (sort of understandable) and http (unexpected and strange)
> ports are missing form Solaris 2 /etc/services as far back as Solaris 8,
> which causes the libgo net test to fail:
>
> --- FAIL: net.TestLookupPort
> LookupPort("tcp", "gopher") = 0, unknown port tcp/gopher; want 70
> LookupPort("tcp", "http") = 0, unknown port tcp/http; want 80
>
> Since having those two ports above all the others adds no extra value,
> I've simply removed them to fix the test.
Committed to master repository and gccgo repository.
Thanks.
Ian
More information about the Gcc-patches
mailing list