]> Cypherpunks repositories - gostls13.git/commit
net: make TestInterfaceList work on non-English Windows
authorYasuhiro Matsumoto <mattn.jp@gmail.com>
Tue, 10 Nov 2015 02:23:41 +0000 (11:23 +0900)
committerAlex Brainman <alex.brainman@gmail.com>
Fri, 13 Nov 2015 01:14:12 +0000 (01:14 +0000)
commit940d41e386d92bda0f4fb39541df89ed424a012d
treeae70bfb0fb4988e27e510cbc9ea6c04ab63f2306
parent0adf6dce8a8895fa7dd6f366ba336d9471b32631
net: make TestInterfaceList work on non-English Windows

Fixes #13198

The output of netsh is encoded with ANSI encoding. So doesn't match with UTF-8 strings.
Write output as UTF-8 using powershell.

Change-Id: I6c7e93c590ed407f24ae847601d71df9523e028c
Reviewed-on: https://go-review.googlesource.com/16756
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
src/net/net_windows_test.go