diff options
author | Florian Westphal <fw@strlen.de> | 2023-11-20 13:56:20 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2023-11-21 18:53:53 +0100 |
commit | 9919f3aa5ebdd50bb6c91a88839d760181279426 (patch) | |
tree | 8762bae21a00a396a5cc5d17cda60a05e6cf5953 /tests | |
parent | b757ac80d88bc161ffa793864b9219a1e16f13b8 (diff) |
tests: shell: skip meta time test meta expression lacks support
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/shell/features/meta_time.nft | 7 | ||||
-rwxr-xr-x | tests/shell/testcases/listing/meta_time | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/shell/features/meta_time.nft b/tests/shell/features/meta_time.nft new file mode 100644 index 00000000..34550de4 --- /dev/null +++ b/tests/shell/features/meta_time.nft @@ -0,0 +1,7 @@ +# 63d10e12b00d ("netfilter: nft_meta: support for time matching") +# v5.4-rc1~131^2~59^2~6 +table ip t { + chain c { + meta time "1970-05-23 21:07:14" + } +} diff --git a/tests/shell/testcases/listing/meta_time b/tests/shell/testcases/listing/meta_time index a9761998..4db517d3 100755 --- a/tests/shell/testcases/listing/meta_time +++ b/tests/shell/testcases/listing/meta_time @@ -1,5 +1,7 @@ #!/bin/bash +# NFT_TEST_REQUIRES(NFT_TEST_HAVE_meta_time) + set -e TMP1=$(mktemp) |