summaryrefslogtreecommitdiff
path: root/test/system/160-volumes.bats
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-05-04 14:46:17 -0400
committerGitHub <noreply@github.com>2021-05-04 14:46:17 -0400
commit8eefca5a257121b177562742c972e39e1686140d (patch)
treeca9a6892a9fe3dadb95087da0d4b994490bcc584 /test/system/160-volumes.bats
parentaf2418018b8a0d83734a7a329955f5a9938bdfbf (diff)
parent9fd7ab50f82c7eaccd2b9daca84e516367f610a2 (diff)
downloadpodman-8eefca5a257121b177562742c972e39e1686140d.tar.gz
podman-8eefca5a257121b177562742c972e39e1686140d.tar.bz2
podman-8eefca5a257121b177562742c972e39e1686140d.zip
Merge pull request #10199 from edsantiago/system_tests_with_runc_override
System tests: honor $OCI_RUNTIME (for CI)
Diffstat (limited to 'test/system/160-volumes.bats')
-rw-r--r--test/system/160-volumes.bats3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/system/160-volumes.bats b/test/system/160-volumes.bats
index 98992f973..9a852db89 100644
--- a/test/system/160-volumes.bats
+++ b/test/system/160-volumes.bats
@@ -123,8 +123,7 @@ EOF
# ARGH. Unfortunately, runc (used for cgroups v1) produces a different error
local expect_rc=126
local expect_msg='.* OCI permission denied.*'
- run_podman info --format '{{ .Host.OCIRuntime.Path }}'
- if expr "$output" : ".*/runc"; then
+ if [[ $(podman_runtime) = "runc" ]]; then
expect_rc=1
expect_msg='.* exec user process caused.*permission denied'
fi