PR go/65785
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 21 Nov 2015 01:41:24 +0000 (01:41 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 21 Nov 2015 01:41:24 +0000 (01:41 +0000)
commitdc11b5a80b5e5a4cba5d611c319575a809f99535
tree4eec2b3965be5fa23bc7094e5e95599036697a4e
parent2b19d6878472189bbd622199ca90f23fb7f5129d
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230695 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
libgo/go/net/listen_test.go