Skip to contentSkip to conversation

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

PATCH New Pablo Neira Ayuso 1 participant 1 message Aug 14, 2024 netfilter

lore
Share & tools
lore

Pablo Neira Ayuso

author maintainer
#0 lore raw

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

Add dependency on egress hook to skip this test in older kernels.

---
 tests/shell/testcases/packetpath/vlan_mangling | 2 ++
 1 file changed, 2 insertions(+)
tests/shell/testcases/packetpath/vlan_mangling +2 -0
index b3f87c66ddec..e3fd443ebcf9 100755
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_netdev_egress)
+
 rnd=$(mktemp -u XXXXXXXX)
 ns1="nft1ifname-$rnd"
 ns2="nft2ifname-$rnd"
Signature · 1 line
2.30.2