Skip to content

Commit

Permalink
Merge pull request moby#19562 from MHBauer/nospace-checktheoutput
Browse files Browse the repository at this point in the history
check the output, not the errcode
  • Loading branch information
duglin committed Jan 22, 2016
2 parents 3233f45 + bcb9adf commit 6f22d9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion integration-cli/docker_cli_daemon_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1890,7 +1890,8 @@ func (s *DockerDaemonSuite) TestDaemonNoSpaceleftOnDeviceError(c *check.C) {

// pull a repository large enough to fill the mount point
out, err := s.d.Cmd("pull", "registry:2")
c.Assert(out, check.Not(check.Equals), 1, check.Commentf("no space left on device"))

c.Assert(strings.Contains(out, "no space left on device"), check.Equals, true)
}

// Test daemon restart with container links + auto restart
Expand Down

0 comments on commit 6f22d9e

Please sign in to comment.