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 <ahmetalpbalkan@gmail.com>
This commit is contained in:
Ahmet Alp Balkan 2015-02-14 12:42:33 -08:00
parent 99ca215c65
commit ae8f1fa712
1 changed files with 1 additions and 1 deletions

View File

@ -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 {