File: powershell_test.go

package info (click to toggle)
golang-github-masterzen-winrm 0.0~git20200615.c42b513-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 288 kB
  • sloc: makefile: 28; sh: 14
file content (10 lines) | stat: -rw-r--r-- 192 bytes parent folder | download | duplicates (3)
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")
}