|
@@ -16,7 +16,7 @@ var (
|
|
|
)
|
|
|
|
|
|
func (s *DockerSuite) TestPluginBasicOps(c *check.C) {
|
|
|
- testRequires(c, DaemonIsLinux, ExperimentalDaemon, Network)
|
|
|
+ testRequires(c, DaemonIsLinux, Network)
|
|
|
_, _, err := dockerCmdWithError("plugin", "install", "--grant-all-permissions", pNameWithTag)
|
|
|
c.Assert(err, checker.IsNil)
|
|
|
|
|
@@ -47,7 +47,7 @@ func (s *DockerSuite) TestPluginBasicOps(c *check.C) {
|
|
|
}
|
|
|
|
|
|
func (s *DockerSuite) TestPluginForceRemove(c *check.C) {
|
|
|
- testRequires(c, DaemonIsLinux, ExperimentalDaemon, Network)
|
|
|
+ testRequires(c, DaemonIsLinux, Network)
|
|
|
out, _, err := dockerCmdWithError("plugin", "install", "--grant-all-permissions", pNameWithTag)
|
|
|
c.Assert(err, checker.IsNil)
|
|
|
|
|
@@ -60,7 +60,7 @@ func (s *DockerSuite) TestPluginForceRemove(c *check.C) {
|
|
|
}
|
|
|
|
|
|
func (s *DockerSuite) TestPluginActive(c *check.C) {
|
|
|
- testRequires(c, DaemonIsLinux, ExperimentalDaemon, Network)
|
|
|
+ testRequires(c, DaemonIsLinux, Network)
|
|
|
out, _, err := dockerCmdWithError("plugin", "install", "--grant-all-permissions", pNameWithTag)
|
|
|
c.Assert(err, checker.IsNil)
|
|
|
|
|
@@ -87,7 +87,7 @@ func (s *DockerSuite) TestPluginActive(c *check.C) {
|
|
|
}
|
|
|
|
|
|
func (s *DockerSuite) TestPluginInstallDisable(c *check.C) {
|
|
|
- testRequires(c, DaemonIsLinux, ExperimentalDaemon, Network)
|
|
|
+ testRequires(c, DaemonIsLinux, Network)
|
|
|
out, _, err := dockerCmdWithError("plugin", "install", "--grant-all-permissions", "--disable", pName)
|
|
|
c.Assert(err, checker.IsNil)
|
|
|
c.Assert(strings.TrimSpace(out), checker.Contains, pName)
|
|
@@ -110,7 +110,7 @@ func (s *DockerSuite) TestPluginInstallDisable(c *check.C) {
|
|
|
}
|
|
|
|
|
|
func (s *DockerSuite) TestPluginInstallDisableVolumeLs(c *check.C) {
|
|
|
- testRequires(c, DaemonIsLinux, ExperimentalDaemon, Network)
|
|
|
+ testRequires(c, DaemonIsLinux, Network)
|
|
|
out, _, err := dockerCmdWithError("plugin", "install", "--grant-all-permissions", "--disable", pName)
|
|
|
c.Assert(err, checker.IsNil)
|
|
|
c.Assert(strings.TrimSpace(out), checker.Contains, pName)
|
|
@@ -119,7 +119,7 @@ func (s *DockerSuite) TestPluginInstallDisableVolumeLs(c *check.C) {
|
|
|
}
|
|
|
|
|
|
func (s *DockerSuite) TestPluginSet(c *check.C) {
|
|
|
- testRequires(c, DaemonIsLinux, ExperimentalDaemon, Network)
|
|
|
+ testRequires(c, DaemonIsLinux, Network)
|
|
|
out, _ := dockerCmd(c, "plugin", "install", "--grant-all-permissions", "--disable", pName)
|
|
|
c.Assert(strings.TrimSpace(out), checker.Contains, pName)
|
|
|
|
|
@@ -133,7 +133,7 @@ func (s *DockerSuite) TestPluginSet(c *check.C) {
|
|
|
}
|
|
|
|
|
|
func (s *DockerSuite) TestPluginInstallArgs(c *check.C) {
|
|
|
- testRequires(c, DaemonIsLinux, ExperimentalDaemon, Network)
|
|
|
+ testRequires(c, DaemonIsLinux, Network)
|
|
|
out, _ := dockerCmd(c, "plugin", "install", "--grant-all-permissions", "--disable", pName, "DEBUG=1")
|
|
|
c.Assert(strings.TrimSpace(out), checker.Contains, pName)
|
|
|
|
|
@@ -142,14 +142,14 @@ func (s *DockerSuite) TestPluginInstallArgs(c *check.C) {
|
|
|
}
|
|
|
|
|
|
func (s *DockerSuite) TestPluginInstallImage(c *check.C) {
|
|
|
- testRequires(c, DaemonIsLinux, ExperimentalDaemon)
|
|
|
+ testRequires(c, DaemonIsLinux)
|
|
|
out, _, err := dockerCmdWithError("plugin", "install", "redis")
|
|
|
c.Assert(err, checker.NotNil)
|
|
|
c.Assert(out, checker.Contains, "content is not a plugin")
|
|
|
}
|
|
|
|
|
|
func (s *DockerSuite) TestPluginEnableDisableNegative(c *check.C) {
|
|
|
- testRequires(c, DaemonIsLinux, ExperimentalDaemon, Network)
|
|
|
+ testRequires(c, DaemonIsLinux, Network)
|
|
|
out, _, err := dockerCmdWithError("plugin", "install", "--grant-all-permissions", pName)
|
|
|
c.Assert(err, checker.IsNil)
|
|
|
c.Assert(strings.TrimSpace(out), checker.Contains, pName)
|