]> Cypherpunks repositories - gostls13.git/commit
net: don't run multicast listen test on nil interface in short mode
authorIan Lance Taylor <iant@golang.org>
Sat, 21 Nov 2015 00:01:45 +0000 (16:01 -0800)
committerIan Lance Taylor <iant@golang.org>
Sat, 21 Nov 2015 01:33:40 +0000 (01:33 +0000)
commit7e312243292866e73d2f2346a81eceffa1890f64
treef7be1931f49d738fce7b57547e23b20b5b12ccb3
parent29499858bfa616b19c5108510d3cc6c9fa937bcc
net: don't run multicast listen test on nil interface in short mode

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.

Change-Id: I7eab8df34fe3b78fc376912312fac9d0f94977f1
Reviewed-on: https://go-review.googlesource.com/17154
Reviewed-by: Mikio Hara <mikioh.mikioh@gmail.com>
src/net/listen_test.go