Merge pull request #10804 from ahmetalpbalkan/win-cli/TestRunSlowStdoutConsume-fix

integration-cli: remove bash dependency of TestRunSlowStdoutConsumer
This commit is contained in:
Jessie Frazelle 2015-02-16 11:58:55 -08:00
commit 110ce4f6cd
1 changed files with 1 additions and 1 deletions

View File

@ -2667,7 +2667,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 {