mirror of
https://github.com/containers/podman.git
synced 2026-07-21 04:31:57 -04:00
podman-remote prune containers
enable the ability to prune containers from the remote-command. this also includes the system prune command. Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
@@ -13,7 +13,6 @@ import (
|
||||
)
|
||||
|
||||
func SkipIfRemote() {
|
||||
ginkgo.Skip("This function is not enabled for remote podman")
|
||||
}
|
||||
|
||||
func SkipIfRootless() {
|
||||
|
||||
@@ -39,7 +39,6 @@ var _ = Describe("Podman prune", func() {
|
||||
})
|
||||
|
||||
It("podman container prune containers", func() {
|
||||
SkipIfRemote()
|
||||
top := podmanTest.RunTopContainer("")
|
||||
top.WaitWithDefaultTimeout()
|
||||
Expect(top.ExitCode()).To(Equal(0))
|
||||
@@ -102,8 +101,6 @@ var _ = Describe("Podman prune", func() {
|
||||
})
|
||||
|
||||
It("podman system prune pods", func() {
|
||||
SkipIfRemote()
|
||||
|
||||
session := podmanTest.Podman([]string{"pod", "create"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session.ExitCode()).To(Equal(0))
|
||||
|
||||
Reference in New Issue
Block a user