1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Cleanup errorOut resp in history test

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
This commit is contained in:
Jessica Frazelle 2014-10-14 12:47:35 -07:00
parent b59d5a9dd2
commit f7b3a6b292

View file

@ -46,9 +46,8 @@ RUN echo "Z"`,
}
out, exitCode, err := runCommandWithOutput(exec.Command(dockerBinary, "history", "testbuildhistory"))
errorOut(err, t, fmt.Sprintf("image history failed: %v %v", out, err))
if err != nil || exitCode != 0 {
t.Fatal("failed to get image history")
t.Fatal("failed to get image history: %s, %v", out, err)
}
actualValues := strings.Split(out, "\n")[1:27]