From b13c0379bcf11caf64734240ec8fbcaa668c4016 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 8 Apr 2024 20:25:12 +0200 Subject: 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 --- tests/shell/testcases/packetpath/payload | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/shell') 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" -- cgit v1.2.3