|
func dockerCmd(c *check.C, args ...string) (string, int) {
|
|
func dockerCmd(c *check.C, args ...string) (string, int) {
|
|
out, status, err := runCommandWithOutput(exec.Command(dockerBinary, args...))
|
|
out, status, err := runCommandWithOutput(exec.Command(dockerBinary, args...))
|
|
c.Assert(err, check.IsNil, check.Commentf("%q failed with errors: %s, %v", strings.Join(args, " "), out, err))
|
|
c.Assert(err, check.IsNil, check.Commentf("%q failed with errors: %s, %v", strings.Join(args, " "), out, err))
|