summaryrefslogtreecommitdiffstats
path: root/tests/shell
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2024-04-08 20:25:12 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2024-04-08 20:27:11 +0200
commitb13c0379bcf11caf64734240ec8fbcaa668c4016 (patch)
tree7778717f8ebda0e18e001b6f4f386b889003cedd /tests/shell
parent1702bfd70b39fe955d5e2c4b93f7dc07acb79027 (diff)
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 <pablo@netfilter.org>
Diffstat (limited to 'tests/shell')
-rwxr-xr-xtests/shell/testcases/packetpath/payload2
1 files changed, 2 insertions, 0 deletions
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"