remove unneeded code

pull/8265/head
Medya Gh 2020-05-27 15:57:26 -07:00
parent 27250f8bbe
commit 7aa96307e1
1 changed files with 1 additions and 2 deletions

View File

@ -89,7 +89,6 @@ func (rr RunResult) Output() string {
func Run(t *testing.T, cmd *exec.Cmd) (*RunResult, error) {
t.Helper()
rr := &RunResult{Args: cmd.Args}
t.Logf("(dbg) Run: %v", rr.Command())
var outb, errb bytes.Buffer
@ -120,7 +119,7 @@ type StartSession struct {
}
// Start starts a process in the background, streaming output
func Start(t *testing.T, cmd *exec.Cmd, powershell ...bool) (*StartSession, error) {
func Start(t *testing.T, cmd *exec.Cmd) (*StartSession, error) {
t.Helper()
t.Logf("(dbg) daemon: %v", cmd.Args)
stdoutPipe, err := cmd.StdoutPipe()