From ae8f1fa712196474da633b4c832ea073e8995edb Mon Sep 17 00:00:00 2001 From: Ahmet Alp Balkan Date: Sat, 14 Feb 2015 12:42:33 -0800 Subject: [PATCH] integration-cli: remove bash dependency of TestRunSlowStdoutConsumer This makes this test case run on msys bash on windows or cmd.exe. Signed-off-by: Ahmet Alp Balkan --- integration-cli/docker_cli_run_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-cli/docker_cli_run_test.go b/integration-cli/docker_cli_run_test.go index 0c144cdc9c..a802183008 100644 --- a/integration-cli/docker_cli_run_test.go +++ b/integration-cli/docker_cli_run_test.go @@ -2617,7 +2617,7 @@ func TestRunVolumesCleanPaths(t *testing.T) { func TestRunSlowStdoutConsumer(t *testing.T) { defer deleteAllContainers() - c := exec.Command("/bin/bash", "-c", dockerBinary+` run --rm -i busybox /bin/sh -c "dd if=/dev/zero of=/foo bs=1024 count=2000 &>/dev/null; catv /foo"`) + c := exec.Command(dockerBinary, "run", "--rm", "busybox", "/bin/sh", "-c", "dd if=/dev/zero of=/dev/stdout bs=1024 count=2000 | catv") stdout, err := c.StdoutPipe() if err != nil {