diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-05-04 14:46:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-04 14:46:17 -0400 |
commit | 8eefca5a257121b177562742c972e39e1686140d (patch) | |
tree | ca9a6892a9fe3dadb95087da0d4b994490bcc584 /test/system/260-sdnotify.bats | |
parent | af2418018b8a0d83734a7a329955f5a9938bdfbf (diff) | |
parent | 9fd7ab50f82c7eaccd2b9daca84e516367f610a2 (diff) | |
download | podman-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.bats | 6 |
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 |