diff mbox series

tests: shell: skip vlan mangling testcase if egress is not support

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

Commit Message

Pablo Neira Ayuso Aug. 14, 2024, 10:20 a.m. UTC
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(+)
diff mbox series

Patch

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"