From: Pablo Neira Ayuso Date: Sun, 11 Aug 2024 22:05:02 +0000 (+0200) Subject: tests: shell: skip vlan mangling testcase if egress is not support X-Git-Tag: v1.1.1~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=620acb1f643c59869163f964171f73de45598199;p=thirdparty%2Fnftables.git tests: shell: skip vlan mangling testcase if egress is not support Add dependency on egress hook to skip this test in older kernels. Signed-off-by: Pablo Neira Ayuso --- diff --git a/tests/shell/testcases/packetpath/vlan_mangling b/tests/shell/testcases/packetpath/vlan_mangling index b3f87c66..e3fd443e 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"