/usr/share/gocode/src/github.com/masterzen/winrm/powershell_test.go is in golang-github-masterzen-winrm-dev 0.0~git20170601.0.1ca0ba6-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | package winrm
import (
. "gopkg.in/check.v1"
)
func (s *WinRMSuite) TestPowershell(c *C) {
psCmd := Powershell("dir")
c.Assert(psCmd, Equals, "powershell.exe -EncodedCommand ZABpAHIA")
}
|