This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, go]: Disable TestListenMulticastUDP on alpha linux


Hello!

alpha linux does not have expected "/proc/net/igmp" and
"/proc/net/igmp6" files, so "func interfaceMulticastAddrTable(ifindex
int)" from interface_linux.go always returns (nil, nil), failing
net/test with:

--- FAIL: net.TestListenMulticastUDP (4.71 seconds)
        ???:1: IPv4 multicast interface: <nil>
        ???:1: IPv4 multicast TTL: 1
        ???:1: IPv4 multicast loopback: false
        ???:1: "224.0.0.254:12345" not found in RIB
FAIL

Attached patch skips this sub-test in the same way as for ARM arch.

Tested on alphaev6-pc-linux-gnu, where it "fixes" failing net test.

Uros.

Attachment: g.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]