diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-03-02 23:41:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-02 23:41:12 +0100 |
commit | c5dfd83cf4528e58f5928ac1ef1f2b00fd5ca559 (patch) | |
tree | b9ca20ae31bb4f884ae7818a08004b5af55dced4 /test/apiv2/40-pods.at | |
parent | 47c4ea39196cedac87e7a4e4c1ead54ed9d7ed50 (diff) | |
parent | 56120894125b0859a81af2f96062157465b56e87 (diff) | |
download | podman-c5dfd83cf4528e58f5928ac1ef1f2b00fd5ca559.tar.gz podman-c5dfd83cf4528e58f5928ac1ef1f2b00fd5ca559.tar.bz2 podman-c5dfd83cf4528e58f5928ac1ef1f2b00fd5ca559.zip |
Merge pull request #5333 from edsantiago/test_apiv2
CI: add API v2 tests
Diffstat (limited to 'test/apiv2/40-pods.at')
-rw-r--r-- | test/apiv2/40-pods.at | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/apiv2/40-pods.at b/test/apiv2/40-pods.at index 8b5651cff..ab345b8f2 100644 --- a/test/apiv2/40-pods.at +++ b/test/apiv2/40-pods.at @@ -23,9 +23,10 @@ t POST libpod/pods/create name=foo 409 .cause="pod already exists" #t POST libpod/pods/create a=b 400 .cause='bad parameter' # FIXME: unimplemented -if root; then +if root || have_cgroupsv2; then t POST libpod/pods/foo/pause '' 204 else + # Rootless cgroupsv1 : unsupported t POST libpod/pods/foo/pause '' 500 \ .cause="this container does not have a cgroup" \ .message~".*pause pods containing rootless containers with cgroup V1" |