]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests: shell: skip vlan mangling testcase if egress is not support
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 11 Aug 2024 22:05:02 +0000 (00:05 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 19 Aug 2024 15:11:26 +0000 (17:11 +0200)
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

index b3f87c66ddec6c3f17b0ff2683d030d6259159ef..e3fd443ebcf984842f80dfcc27cd406fe1a3dcc8 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_netdev_egress)
+
 rnd=$(mktemp -u XXXXXXXX)
 ns1="nft1ifname-$rnd"
 ns2="nft2ifname-$rnd"