Merge pull request #24411 from vdemeester/24393-ps-filter-managed

Add a new "is-task" ps filter
Upstream-commit: b6ad6d98fd5037c44cc38d000e5a35bd808bff7d
Component: engine
This commit is contained in:
Vincent Demeester
2016-09-29 18:54:15 +02:00
committed by GitHub
9 changed files with 72 additions and 2 deletions

View File

@ -136,6 +136,7 @@ func assertContainerList(out string, expected []string) bool {
return true
}
// FIXME(vdemeester) Move this into a unit test in daemon package
func (s *DockerSuite) TestPsListContainersInvalidFilterName(c *check.C) {
out, _, err := dockerCmdWithError("ps", "-f", "invalidFilter=test")
c.Assert(err, checker.NotNil)