the exit code should be 1
(c *testing.T)
| 101 | |
| 102 | // the exit code should be 1 |
| 103 | func (s *DockerCLIRunSuite) TestRunExitCodeOne(c *testing.T) { |
| 104 | _, exitCode, err := dockerCmdWithError("run", "busybox", "false") |
| 105 | assert.ErrorContains(c, err, "") |
| 106 | assert.Equal(c, exitCode, 1) |
| 107 | } |
| 108 | |
| 109 | // it should be possible to pipe in data via stdin to a process running in a container |
| 110 | func (s *DockerCLIRunSuite) TestRunStdinPipe(c *testing.T) { |
nothing calls this directly
no test coverage detected