Message ID | 20240814102055.202090-1-pablo@netfilter.org |
---|---|
State | Accepted |
Headers | show |
Series | tests: shell: skip vlan mangling testcase if egress is not support | expand |
diff --git a/tests/shell/testcases/packetpath/vlan_mangling b/tests/shell/testcases/packetpath/vlan_mangling index b3f87c66ddec..e3fd443ebcf9 100755 --- a/tests/shell/testcases/packetpath/vlan_mangling +++ b/tests/shell/testcases/packetpath/vlan_mangling @@ -1,5 +1,7 @@ #!/bin/bash +# NFT_TEST_REQUIRES(NFT_TEST_HAVE_netdev_egress) + rnd=$(mktemp -u XXXXXXXX) ns1="nft1ifname-$rnd" ns2="nft2ifname-$rnd"
Add dependency on egress hook to skip this test in older kernels. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> --- tests/shell/testcases/packetpath/vlan_mangling | 2 ++ 1 file changed, 2 insertions(+)