mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
add test plugin install --disable and volume ls
Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
parent
cc8b8ce0b3
commit
7236e42046
1 changed files with 9 additions and 0 deletions
|
@ -108,6 +108,15 @@ func (s *DockerSuite) TestPluginInstallDisable(c *check.C) {
|
|||
c.Assert(strings.TrimSpace(out), checker.Contains, pName)
|
||||
}
|
||||
|
||||
func (s *DockerSuite) TestPluginInstallDisableVolumeLs(c *check.C) {
|
||||
testRequires(c, DaemonIsLinux, ExperimentalDaemon, Network)
|
||||
out, _, err := dockerCmdWithError("plugin", "install", "--grant-all-permissions", "--disable", pName)
|
||||
c.Assert(err, checker.IsNil)
|
||||
c.Assert(strings.TrimSpace(out), checker.Contains, pName)
|
||||
|
||||
dockerCmd(c, "volume", "ls")
|
||||
}
|
||||
|
||||
func (s *DockerSuite) TestPluginInstallImage(c *check.C) {
|
||||
testRequires(c, DaemonIsLinux, ExperimentalDaemon)
|
||||
out, _, err := dockerCmdWithError("plugin", "install", "redis")
|
||||
|
|
Loading…
Reference in a new issue