From: Pablo Neira Ayuso Date: Mon, 8 Apr 2024 18:25:12 +0000 (+0200) Subject: tests: shell: payload matching requires egress support X-Git-Tag: v1.1.0~58 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b13c0379bcf11caf64734240ec8fbcaa668c4016;p=thirdparty%2Fnftables.git tests: shell: payload matching requires egress support Older kernels do not support for egress hook. Fixes: 84da729e067a ("tests: shell: add test to cover payload transport match and mangle") Signed-off-by: Pablo Neira Ayuso --- diff --git a/tests/shell/testcases/packetpath/payload b/tests/shell/testcases/packetpath/payload index 9f4587d2..4c5c42da 100755 --- a/tests/shell/testcases/packetpath/payload +++ b/tests/shell/testcases/packetpath/payload @@ -1,5 +1,7 @@ #!/bin/bash +# NFT_TEST_REQUIRES(NFT_TEST_HAVE_netdev_egress) + rnd=$(mktemp -u XXXXXXXX) ns1="nft1payload-$rnd" ns2="nft2payload-$rnd"