Browse code

Remove unnecessary fmt.Printf

Signed-off-by: Thomas Texier <sharkone@en-mousse.org>

Thomas Texier authored on 2015/04/15 05:49:22
Showing 1 changed files
... ...
@@ -705,7 +705,6 @@ func TestExecWithPrivileged(t *testing.T) {
705 705
 
706 706
 	cmd := exec.Command(dockerBinary, "exec", "parent", "sh", "-c", "mknod /tmp/sda b 8 0")
707 707
 	out, _, err := runCommandWithOutput(cmd)
708
-	fmt.Printf("%s", out)
709 708
 	if err == nil || !strings.Contains(out, "Operation not permitted") {
710 709
 		t.Fatalf("exec mknod in --cap-drop=ALL container without --privileged should failed")
711 710
 	}