Skip to contentSkip to conversation

tests: shell: skip meta time test meta expression lacks support

PATCH New Florian Westphal 1 participant 1 message Nov 20, 2023 netfilter

lore
Share & tools
lore

Florian Westphal

author maintainer
#0 lore raw

PATCH 1/1 tests: shell: skip meta time test meta expression lacks support

---
 tests/shell/features/meta_time.nft      | 7 +++++++
 tests/shell/testcases/listing/meta_time | 2 ++
 2 files changed, 9 insertions(+)
 create mode 100644 tests/shell/features/meta_time.nft
tests/shell/features/meta_time.nft new file +7 -0
new file mode 100644
index 000000000000..34550de46ce9
@@ -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"
+	}
+}
tests/shell/testcases/listing/meta_time +2 -0
index a97619989986..4db517d3a83b 100755
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_meta_time)
+
 set -e
 
 TMP1=$(mktemp)
Signature · 1 line
2.41.0