This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/65785] libgo TestIPv4MulticastListener test fails on machine with no network connection
- From: "ian at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 21 Nov 2015 01:42:26 +0000
- Subject: [Bug go/65785] libgo TestIPv4MulticastListener test fails on machine with no network connection
- Auto-submitted: auto-generated
- References: <bug-65785-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65785
--- Comment #4 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Sat Nov 21 01:41:55 2015
New Revision: 230696
URL: https://gcc.gnu.org/viewcvs?rev=230696&root=gcc&view=rev
Log:
PR go/65785
net: don't run multicast listen test on nil interface in short mode
This is a backport of https://golang.org/cl/17154.
The gccgo bug report https://gcc.gnu.org/PR65785 points out that the
multicast listen tests will use the network even with -test.short.
Fix test by checking testing.Short with a nil interface.
Reviewed-on: https://go-review.googlesource.com/17158
Modified:
branches/gcc-5-branch/libgo/go/net/multicast_test.go