1
0
mirror of https://github.com/containers/netavark.git synced 2026-02-05 15:45:47 +01:00
Files
netavark/test/README.md
Mario Loriedo 0fa48211bd Remove iptables support
Code and documentation changes to remove the support of
iptables as a firewall driver.

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-11-17 19:02:16 +01:00

515 B

Netavark integration test with bats

Running tests

To run the tests locally in your sandbox, you can use one of these methods:

  • bats ./test/001-basic.bats # runs just the specified test
  • bats ./test/ # runs all

The tests need root privileges to create network namespaces, so you either have to run the test as root or in a user namespace. You can use podman unshare --rootless-netns bats test/ to run the tests as rootless user.

Requirements

  • jq
  • iproute2
  • firewalld
  • dbus-daemon