]> Cypherpunks repositories - gostls13.git/commit
net: ignore duplicate interfaces in TestInterfaceHardwareAddrWithGetmac
authorAlex Brainman <alex.brainman@gmail.com>
Mon, 28 Aug 2017 02:21:44 +0000 (12:21 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Fri, 10 Nov 2017 23:18:17 +0000 (23:18 +0000)
commitc19abe30a00058dbf0950f30d5b7c2e451e676a3
tree994b2ac277ef0ac5f5220aa2b5253b2d3b5b0b15
parentdc3a4e4bca1eb0fed3304d22875ca26964091e82
net: ignore duplicate interfaces in TestInterfaceHardwareAddrWithGetmac

Sometimes getmac lists many interfaces for the same MAC address,
while Interfaces returns only single name for that address. Adjust
the test to ignore the names that are not returned by the Interfaces.

Fixes #21027

Change-Id: I08d98746a7c669f2d730dba2da36e07451a6f405
Reviewed-on: https://go-review.googlesource.com/59411
Reviewed-by: Mikio Hara <mikioh.mikioh@gmail.com>
src/net/net_windows_test.go