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:
parent
1e6f7e4ee5
commit
2ea1febd9a
1 changed files with 0 additions and 1 deletions
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue