summaryrefslogtreecommitdiffstats
path: root/tests/expr/meta/20-cpu_ok.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expr/meta/20-cpu_ok.t')
-rw-r--r--tests/expr/meta/20-cpu_ok.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/expr/meta/20-cpu_ok.t b/tests/expr/meta/20-cpu_ok.t
new file mode 100644
index 0000000..3b22e72
--- /dev/null
+++ b/tests/expr/meta/20-cpu_ok.t
@@ -0,0 +1,6 @@
+add_table(NFPROTO_INET, "test", NULL, NULL, NULL);
+add_chain("test", NULL, NULL, NULL, NULL);
+add_rule("test", "0x1", NULL, NULL, NULL);
+meta(NULL, "NFT_REG32_15", "20");
+cmp("NFT_REG32_15", "0", "01020304");
+commit();