summaryrefslogtreecommitdiff
path: root/test/system/005-info.bats
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2022-01-26 13:05:50 -0500
committerChris Evich <cevich@redhat.com>2022-02-11 14:49:40 -0500
commit66a3be3709ae67ec14c0ecdfee3847066c90c9ae (patch)
tree75ae212365b40af4e9f8016850b360e17144b6cb /test/system/005-info.bats
parent6b0d4d9158662501b8bf36a69d351abaa9265c84 (diff)
downloadpodman-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/005-info.bats')
-rw-r--r--test/system/005-info.bats12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/system/005-info.bats b/test/system/005-info.bats
index 5f3cdff7e..0f7e8b2e4 100644
--- a/test/system/005-info.bats
+++ b/test/system/005-info.bats
@@ -88,6 +88,18 @@ host.slirp4netns.executable | $expr_path
is "$output" ".*graphOptions: {}" "output includes graphOptions: {}"
}
+@test "podman info netavark " {
+ # Confirm netavark in use when explicitely required by execution environment.
+ if [[ "$NETWORK_BACKEND" == "netavark" ]]; then
+ if ! is_netavark; then
+ # Assume is_netavark() will provide debugging feedback.
+ die "Netavark driver testing required, but not in use by podman."
+ fi
+ else
+ skip "Netavark testing not requested (\$NETWORK_BACKEND='$NETWORK_BACKEND')"
+ fi
+}
+
@test "podman --root PATH info - basic output" {
if ! is_remote; then
run_podman --storage-driver=vfs --root ${PODMAN_TMPDIR}/nothing-here-move-along info --format '{{ .Store.GraphOptions }}'