diff options
author | Chris Evich <cevich@redhat.com> | 2022-01-26 13:05:50 -0500 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2022-02-11 14:49:40 -0500 |
commit | 66a3be3709ae67ec14c0ecdfee3847066c90c9ae (patch) | |
tree | 75ae212365b40af4e9f8016850b360e17144b6cb /test/system/helpers.bash | |
parent | 6b0d4d9158662501b8bf36a69d351abaa9265c84 (diff) | |
download | podman-66a3be3709ae67ec14c0ecdfee3847066c90c9ae.tar.gz podman-66a3be3709ae67ec14c0ecdfee3847066c90c9ae.tar.bz2 podman-66a3be3709ae67ec14c0ecdfee3847066c90c9ae.zip |
Cirrus: Add netavark/aardvark system test task
Also add a system-test that verifies netavark driver is in use when
magic env. var. is set.
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'test/system/helpers.bash')
-rw-r--r-- | test/system/helpers.bash | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/system/helpers.bash b/test/system/helpers.bash index 36a88fc10..c622a5172 100644 --- a/test/system/helpers.bash +++ b/test/system/helpers.bash @@ -341,6 +341,15 @@ function is_cgroupsv2() { test "$cgroup_type" = "cgroup2fs" } +# True if podman is using netavark +function is_netavark() { + run_podman info --format '{{.Host.NetworkBackend}}' + if [[ "$output" =~ netavark ]]; then + return 0 + fi + return 1 +} + # Returns the OCI runtime *basename* (typically crun or runc). Much as we'd # love to cache this result, we probably shouldn't. function podman_runtime() { |