|
@@ -2239,14 +2239,7 @@ func (s *DockerSuite) TestRunSlowStdoutConsumer(c *check.C) {
|
|
// alternate to /dev/zero and /dev/stdout.
|
|
// alternate to /dev/zero and /dev/stdout.
|
|
testRequires(c, DaemonIsLinux)
|
|
testRequires(c, DaemonIsLinux)
|
|
|
|
|
|
- // TODO will remove this if issue #35963 fixed
|
|
|
|
- var args []string
|
|
|
|
- if runtime.GOARCH == "amd64" {
|
|
|
|
- args = []string{"run", "--rm", "busybox", "/bin/sh", "-c", "dd if=/dev/zero of=/dev/stdout bs=1024 count=2000 | catv"}
|
|
|
|
- } else {
|
|
|
|
- args = []string{"run", "--rm", "busybox", "/bin/sh", "-c", "dd if=/dev/zero of=/dev/stdout bs=1024 count=2000 | cat -v"}
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
|
|
+ args := []string{"run", "--rm", "busybox", "/bin/sh", "-c", "dd if=/dev/zero of=/dev/stdout bs=1024 count=2000 | cat -v"}
|
|
cont := exec.Command(dockerBinary, args...)
|
|
cont := exec.Command(dockerBinary, args...)
|
|
|
|
|
|
stdout, err := cont.StdoutPipe()
|
|
stdout, err := cont.StdoutPipe()
|