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
1 changed files with 1 additions and 2 deletions

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]