diff options
author | Jakub Guzik <jakubmguzik@gmail.com> | 2021-03-15 18:12:29 +0100 |
---|---|---|
committer | Jakub Guzik <jakubmguzik@gmail.com> | 2021-03-15 20:17:05 +0100 |
commit | f4b2d597a80c242e91b30b4709452c44f202956b (patch) | |
tree | 9ac4d73005cb703d3cfdb060dc493974dac07e68 /test | |
parent | e7dc59252bd722377938ac3e6b4fd7e077f05293 (diff) | |
download | podman-f4b2d597a80c242e91b30b4709452c44f202956b.tar.gz podman-f4b2d597a80c242e91b30b4709452c44f202956b.tar.bz2 podman-f4b2d597a80c242e91b30b4709452c44f202956b.zip |
Fix for volumes prune in http compat api
Signed-off-by: Jakub Guzik <jakubmguzik@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/apiv2/30-volumes.at | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/apiv2/30-volumes.at b/test/apiv2/30-volumes.at index c27c638bb..1a40b3cdf 100644 --- a/test/apiv2/30-volumes.at +++ b/test/apiv2/30-volumes.at @@ -86,6 +86,10 @@ t DELETE libpod/volumes/foo1 404 \ .message~.* \ .response=404 +# Prune volumes - bad filter input +t POST volumes/prune?filters='garb1age}' 500 \ + .cause="invalid character 'g' looking for beginning of value" + ## Prune volumes with label matching 'testlabel1=testonly' t POST libpod/volumes/prune?filters='{"label":["testlabel1=testonly"]}' 200 t GET libpod/volumes/json?filters='{"label":["testlabel1=testonly"]}' 200 length=0 |