mirror of
https://github.com/containers/podman.git
synced 2025-06-23 02:18:13 +08:00
Add APIv2 test for containers-prune
Signed-off-by: Edward Shen <weshen@redhat.com>
This commit is contained in:
@ -79,4 +79,13 @@ like "$output" ".*spec:.*" "Check generated kube yaml(service=true) - spec"
|
||||
like "$output" ".*kind:\\sService.*" "Check generated kube yaml(service=true) - kind: Service"
|
||||
|
||||
t DELETE libpod/containers/$cid 204
|
||||
|
||||
# Create 3 stopped containers to test containers prune
|
||||
podman run $IMAGE true
|
||||
podman run $IMAGE true
|
||||
podman run $IMAGE true
|
||||
|
||||
t POST libpod/containers/prune '' 200
|
||||
t GET libpod/containers/json 200 \
|
||||
length=0
|
||||
# vim: filetype=sh
|
||||
|
Reference in New Issue
Block a user