[Bug go/65785] libgo TestIPv4MulticastListener test fails on machine with no network connection

2015-11-20 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65785

--- Comment #3 from ian at gcc dot gnu.org  ---
Author: ian
Date: Sat Nov 21 01:41:24 2015
New Revision: 230695

URL: https://gcc.gnu.org/viewcvs?rev=230695=gcc=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:
trunk/gcc/go/gofrontend/MERGE
trunk/libgo/go/net/listen_test.go

[Bug go/65785] libgo TestIPv4MulticastListener test fails on machine with no network connection

2015-11-20 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65785

--- Comment #4 from 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=gcc=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

[Bug go/65785] libgo TestIPv4MulticastListener test fails on machine with no network connection

2015-11-20 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65785

Ian Lance Taylor  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Ian Lance Taylor  ---
Should be fixed.  Thanks for reporting the problem.