summaryrefslogtreecommitdiff
path: root/test/apiv2/30-volumes.at
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-11-03 16:25:39 -0500
committerGitHub <noreply@github.com>2020-11-03 16:25:39 -0500
commit5f897d2abe960f2e29dd4ae87829c3c769a4423b (patch)
treed179cf321919b2cf4368d575b28ea8f81f5b9ddb /test/apiv2/30-volumes.at
parent55433450c2b7c5fa8c3e5a7cd7aa529e6975d770 (diff)
parent532bce4ad434e302007c3d2adf9994b5a822cc19 (diff)
downloadpodman-5f897d2abe960f2e29dd4ae87829c3c769a4423b.tar.gz
podman-5f897d2abe960f2e29dd4ae87829c3c769a4423b.tar.bz2
podman-5f897d2abe960f2e29dd4ae87829c3c769a4423b.zip
Merge pull request #8232 from ashley-cui/volfilt
Make volume filters inclusive
Diffstat (limited to 'test/apiv2/30-volumes.at')
-rw-r--r--test/apiv2/30-volumes.at2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/apiv2/30-volumes.at b/test/apiv2/30-volumes.at
index 2c38954b6..aa167a97a 100644
--- a/test/apiv2/30-volumes.at
+++ b/test/apiv2/30-volumes.at
@@ -35,6 +35,8 @@ t GET libpod/volumes/json 200 \
.[0].CreatedAt~[0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}.*
# -G --data-urlencode 'filters={"name":["foo1"]}'
t GET libpod/volumes/json?filters=%7B%22name%22%3A%5B%22foo1%22%5D%7D 200 length=1 .[0].Name=foo1
+# -G --data-urlencode 'filters={"name":["foo1","foo2"]}'
+t GET libpod/volumes/json?filters=%7B%22name%22%3A%20%5B%22foo1%22%2C%20%22foo2%22%5D%7D 200 length=2 .[0].Name=foo1 .[1].Name=foo2
# -G --data-urlencode 'filters={"name":["notexist"]}'
t GET libpod/volumes/json?filters=%7B%22name%22%3A%5B%22notexists%22%5D%7D 200 length=0