Also change the call sites. *sigh*

This commit is contained in:
Soren Hansen 2014-09-18 12:55:09 +02:00
parent 6f50f5d789
commit 63946e04c4
1 changed files with 2 additions and 2 deletions

View File

@ -231,11 +231,11 @@ func testHandleRemoteExec(t *testing.T, command string, expectedSubstring string
}
func TestHandleRemoteExec(t *testing.T) {
_TestHandleRemoteExec(t, "uptime", "load", "0")
testHandleRemoteExec(t, "uptime", "load", "0")
}
func TestHandleRemoteExecFailed(t *testing.T) {
_TestHandleRemoteExec(t, "echo failing;exit 2", "failing", "2")
testHandleRemoteExec(t, "echo failing;exit 2", "failing", "2")
}
func makeRexecSession(t *testing.T, agent *Agent) string {