summaryrefslogtreecommitdiff
path: root/test/apiv2/30-volumes.at
diff options
context:
space:
mode:
authorAlex Schultz <aschultz@redhat.com>2021-06-11 13:56:42 -0600
committerAlex Schultz <aschultz@redhat.com>2021-07-14 09:33:21 -0600
commit6ced24d0b66eef6d6ac5960c49b339190c83679c (patch)
tree71b565fa3a7f491bbd8f7102758200f475c7dd6c /test/apiv2/30-volumes.at
parent9d98f56a64852d3bf9d3b27ad6e1ac3e3ebb6622 (diff)
downloadpodman-6ced24d0b66eef6d6ac5960c49b339190c83679c.tar.gz
podman-6ced24d0b66eef6d6ac5960c49b339190c83679c.tar.bz2
podman-6ced24d0b66eef6d6ac5960c49b339190c83679c.zip
Fix broken volume and container tests
There are a handful of tests that aren't actually being run because there are missing \ which is prevented the tests from being executed. Additionally some of the test syntax was incorrect but not showing up because these tests didn't run. Signed-off-by: Alex Schultz <aschultz@redhat.com>
Diffstat (limited to 'test/apiv2/30-volumes.at')
-rw-r--r--test/apiv2/30-volumes.at7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/apiv2/30-volumes.at b/test/apiv2/30-volumes.at
index 5feceea7b..b639e05f9 100644
--- a/test/apiv2/30-volumes.at
+++ b/test/apiv2/30-volumes.at
@@ -13,13 +13,14 @@ t POST libpod/volumes/create name=foo1 201 \
.CreatedAt~[0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}.* \
.Labels={} \
.Options={}
+# TODO(mwhahaha): there might be a bug here since options is null and not {}
t POST volumes/create 201 \
- .Name~[0-9a-f]\\{64\\}
+ .Name~[0-9a-f]\\{64\\} \
.Driver=local \
- .Mountpoint=$volumepath/~[0-9a-f]\\{64\\}/_data \
+ .Mountpoint~$volumepath/[0-9a-f]\\{64\\}/_data \
.CreatedAt~[0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}.* \
.Labels={} \
- .Options={}
+ .Options=null
t POST libpod/volumes/create 201
t POST libpod/volumes/create \
Name=foo2 \