157
157
err := os.Mkdir(testAgentDir, 0755)
160
_, err = testing.RunCommand(c, &RunCommand{}, []string{"foo", "bar"})
160
_, err = testing.RunCommand(c, &RunCommand{}, "foo", "bar")
161
161
c.Assert(err, gc.ErrorMatches, `dial unix .*/run.socket: no such file or directory`)