Signed-off-by: Dumitru Ceara <dce...@redhat.com> --- .github/workflows/ovn-fake-multinode-tests.yml | 1 + tests/multinode-macros.at | 11 +++++++++++ 2 files changed, 12 insertions(+)
diff --git a/.github/workflows/ovn-fake-multinode-tests.yml b/.github/workflows/ovn-fake-multinode-tests.yml index 1ae8fa3413..7727698336 100644 --- a/.github/workflows/ovn-fake-multinode-tests.yml +++ b/.github/workflows/ovn-fake-multinode-tests.yml @@ -120,6 +120,7 @@ jobs: run: | sudo apt update || true sudo apt install -y ${{ env.dependencies }} + sudo apt install -y linux-modules-extra-$(uname -r) - name: Fix /etc/hosts file run: | diff --git a/tests/multinode-macros.at b/tests/multinode-macros.at index 282f836f7b..533674e5b5 100644 --- a/tests/multinode-macros.at +++ b/tests/multinode-macros.at @@ -58,6 +58,17 @@ m4_define([M_FORMAT_CT], m4_define([M_FORMAT_CURL], [[sed 's/\(.*\)Connected to $1 ($1) port $2/Connected to $1 ($1) port $2\n/' | sed 's/\(.*\)200 OK/200 OK\n/' | grep -i -e connected -e "200 OK" | uniq ]]) +# CHECK_VRF() +# +# Perform a requirements check for running VRF tests. +# +m4_define([CHECK_VRF], +[ + rc=0 + modprobe vrf || rc=$? + AT_SKIP_IF([test $rc -ne 0]) + on_exit 'modprobe -r vrf' +]) OVS_START_SHELL_HELPERS -- 2.50.1 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev