Quellcode durchsuchen

Merge pull request #12379 from sharkone/patch-1

Remove sprious `fmt.Printf` from test
Arnaud Porterie vor 10 Jahren
Ursprung
Commit
ee54723485
1 geänderte Dateien mit 0 neuen und 1 gelöschten Zeilen
  1. 0 1
      integration-cli/docker_cli_exec_test.go

+ 0 - 1
integration-cli/docker_cli_exec_test.go

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