re PR go/65785 (libgo TestIPv4MulticastListener test fails on machine with no network...
authorIan Lance Taylor <ian@gcc.gnu.org>
Sat, 21 Nov 2015 01:41:24 +0000 (01:41 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Sat, 21 Nov 2015 01:41:24 +0000 (01:41 +0000)
commiteaa7bc3388e1c620210b851f15b838045f4f0cca
tree4eec2b3965be5fa23bc7094e5e95599036697a4e
parentbbbe8b338b4e31ce315f97562906a013240bd621
re PR go/65785 (libgo TestIPv4MulticastListener test fails on machine with no network connection)

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

From-SVN: r230695
gcc/go/gofrontend/MERGE
libgo/go/net/listen_test.go