mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #10804 from ahmetalpbalkan/win-cli/TestRunSlowStdoutConsume-fix
integration-cli: remove bash dependency of TestRunSlowStdoutConsumer
This commit is contained in:
commit
110ce4f6cd
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue