From 1cab340c10be71382a8cfde8402f475d503c94be Mon Sep 17 00:00:00 2001 From: Arnaud Porterie Date: Thu, 11 Dec 2014 18:05:07 -0800 Subject: [PATCH] Suppress output of TestLoginWithoutTTY Signed-off-by: Arnaud Porterie --- integration-cli/docker_cli_login_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/integration-cli/docker_cli_login_test.go b/integration-cli/docker_cli_login_test.go index cf134e4c9b..d2b927b11b 100644 --- a/integration-cli/docker_cli_login_test.go +++ b/integration-cli/docker_cli_login_test.go @@ -3,16 +3,12 @@ package main import ( "bytes" "io" - "os" "os/exec" "testing" ) func TestLoginWithoutTTY(t *testing.T) { cmd := exec.Command(dockerBinary, "login") - // setup STDOUT and STDERR so that we see any output and errors in our console - cmd.Stdout = os.Stdout - cmd.Stderr = os.Stderr // create a buffer with text then a new line as a return buf := bytes.NewBuffer([]byte("buffer test string \n"))