]> Cypherpunks repositories - gostls13.git/commit
net: disable Windows netsh tests when netsh won't run
authorRuss Cox <rsc@golang.org>
Thu, 18 Feb 2021 16:47:47 +0000 (11:47 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 19 Feb 2021 00:41:41 +0000 (00:41 +0000)
commitee7038f6a5f12d68a49b8b8193702341e5b8b151
tree11cbee5289194582fdba8ac64011571e84057f69
parent40765ffa95e87e603845d83591f75efa54049eca
net: disable Windows netsh tests when netsh won't run

On my Surface Pro X running the insider preview,
running "netsh help" from Powershell started from the task bar works.
But running "powershell" at a cmd.exe prompt and then running
"netsh help" produces missing DLL errors.
These aren't our fault, so just skip the netsh-based tests if this happens.

Change-Id: I13a17e01143d823d3b5242d827db056bd253e3e9
Reviewed-on: https://go-review.googlesource.com/c/go/+/293849
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/net/net_windows_test.go