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

Merge pull request #12379 from sharkone/patch-1

Remove sprious `fmt.Printf` from test
This commit is contained in:
Arnaud Porterie 2015-04-14 14:25:16 -07:00
commit ee54723485

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