summaryrefslogtreecommitdiffstats
path: root/tests/files/error.2
diff options
context:
space:
mode:
Diffstat (limited to 'tests/files/error.2')
-rw-r--r--tests/files/error.218
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/files/error.2 b/tests/files/error.2
new file mode 100644
index 00000000..744a63d5
--- /dev/null
+++ b/tests/files/error.2
@@ -0,0 +1,18 @@
+#! nft -f
+
+# mixed syntactical and non-syntactical errors in blocks
+table filter {
+ # missing identifier
+ chain
+
+ # missing chain block
+ chain output
+
+ chain output {
+ tcp
+ tcp dport
+ tcp dport tcp
+ tcp dport tcp dport
+ tcp dport ssh
+ }
+}