Remove unnecessary fmt.Printf

Signed-off-by: Thomas Texier <sharkone@en-mousse.org>
Upstream-commit: 2ea1febd9aafd94985a2430c35243e539fa29f53
Component: engine
This commit is contained in:
Thomas Texier
2015-04-14 20:55:32 +00:00
parent 96ab4241b1
commit ef2b1dddc8
@@ -705,7 +705,6 @@ func TestExecWithPrivileged(t *testing.T) {
cmd := exec.Command(dockerBinary, "exec", "parent", "sh", "-c", "mknod /tmp/sda b 8 0")
out, _, err := runCommandWithOutput(cmd)
fmt.Printf("%s", out)
if err == nil || !strings.Contains(out, "Operation not permitted") {
t.Fatalf("exec mknod in --cap-drop=ALL container without --privileged should failed")
}