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

Remove unnecessary fmt.Printf

Signed-off-by: Thomas Texier <sharkone@en-mousse.org>
This commit is contained in:
Thomas Texier 2015-04-14 16:49:22 -04:00
parent 1e6f7e4ee5
commit 2ea1febd9a

View file

@ -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")
}