try with separate

pull/8265/head
Medya Gh 2020-05-26 20:52:03 -07:00
parent 6370008b19
commit a0cd034cfd
No known key found for this signature in database
GPG Key ID: 7CF7792C6DF3245C
1 changed files with 1 additions and 1 deletions

View File

@ -853,7 +853,7 @@ func validateSSHCmd(ctx context.Context, t *testing.T, profile string) {
var rr *RunResult
var err error
if runtime.GOOS == "windows" { // golang exec powershell needs some tricks !
cmd := exec.CommandContext(ctx, Target()+" -p "+profile+" ssh cat /etc/hostname")
cmd := exec.CommandContext(ctx, Target()+" -p "+profile+" ssh", "cat /etc/hostname")
t.Logf("about to run %s: ", cmd.Args)
rr, err = Run(t, cmd)
t.Logf("rr is %+v: \n", rr)