summaryrefslogtreecommitdiff
path: root/test/system/260-sdnotify.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/260-sdnotify.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/260-sdnotify.bats')
-rw-r--r--test/system/260-sdnotify.bats6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/system/260-sdnotify.bats b/test/system/260-sdnotify.bats
index 8bf49eb1d..acb30de47 100644
--- a/test/system/260-sdnotify.bats
+++ b/test/system/260-sdnotify.bats
@@ -17,9 +17,9 @@ function setup() {
# sdnotify fails with runc 1.0.0-3-dev2 on Ubuntu. Let's just
# assume that we work only with crun, nothing else.
- run_podman info --format '{{ .Host.OCIRuntime.Name }}'
- if [[ "$output" != "crun" ]]; then
- skip "this test only works with crun, not '$output'"
+ runtime=$(podman_runtime)
+ if [[ "$runtime" != "crun" ]]; then
+ skip "this test only works with crun, not $runtime"
fi
basic_setup