summaryrefslogtreecommitdiffstats
path: root/tests/shell/features/osf.nft
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2023-09-18 12:28:24 +0200
committerFlorian Westphal <fw@strlen.de>2023-09-18 13:08:54 +0200
commit5b7d55bafeb306f95b3a16b28c7d00bf79635aab (patch)
treea8edd2102515a17331f7fb3a99da226dc4a2fa5b /tests/shell/features/osf.nft
parentb512f79edbf476fe6b551cb6c7d007d81dd9f154 (diff)
tests/shell: skip test cases involving osf match if kernel lacks support
Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'tests/shell/features/osf.nft')
-rw-r--r--tests/shell/features/osf.nft7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/shell/features/osf.nft b/tests/shell/features/osf.nft
new file mode 100644
index 00000000..dbb6b4c3
--- /dev/null
+++ b/tests/shell/features/osf.nft
@@ -0,0 +1,7 @@
+# b96af92d6eaf ("netfilter: nf_tables: implement Passive OS fingerprint module in nft_osf")
+# v4.19-rc1~140^2~135^2~15
+table t {
+ chain c {
+ osf name "Linux"
+ }
+}