]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests: shell: skip meta time test meta expression lacks support
authorFlorian Westphal <fw@strlen.de>
Mon, 20 Nov 2023 12:56:20 +0000 (13:56 +0100)
committerFlorian Westphal <fw@strlen.de>
Tue, 21 Nov 2023 17:53:53 +0000 (18:53 +0100)
Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/features/meta_time.nft [new file with mode: 0644]
tests/shell/testcases/listing/meta_time

diff --git a/tests/shell/features/meta_time.nft b/tests/shell/features/meta_time.nft
new file mode 100644 (file)
index 0000000..34550de
--- /dev/null
@@ -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"
+       }
+}
index a97619989986a403206cb0dd2ef88122224e0920..4db517d3a83bfd95b15e2a1fa409d7aaf75d5864 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_meta_time)
+
 set -e
 
 TMP1=$(mktemp)