diff --git a/testscript/script_test.go b/testscript/script_test.go index 219065826145f674737015c79e315a6516782f54..e1737c889f08627bf14192bc02c88ce60474d901 100644 --- a/testscript/script_test.go +++ b/testscript/script_test.go @@ -6,7 +6,9 @@ import ( "fmt" "net" "os" + "os/exec" "path/filepath" + "runtime" "strings" "sync" "testing" @@ -72,6 +74,11 @@ func TestScript(t *testing.T) { "--", }, args...)..., ) + if runtime.GOOS == "windows" { + cmd := exec.Command("ssh", args...) + out, err := cmd.CombinedOutput() + ts.Logf("RUNNING %v: output: %s error: %v", cmd.Args, string(out), err) + } check(ts, ts.Exec("ssh", args...), neg) }, "git": func(ts *testscript.TestScript, neg bool, args []string) {