From 338d6438cf0fe6bf74dff6154d006816dc8c3a57 Mon Sep 17 00:00:00 2001 From: Ana Rey Date: Mon, 16 Jun 2014 11:06:38 +0200 Subject: tests: Add json and xml test file for queue New xml and json test files. Signed-off-by: Ana Rey Signed-off-by: Pablo Neira Ayuso --- tests/jsonfiles/66-rule-queue.json | 1 + tests/jsonfiles/67-rule-queue.json | 1 + tests/xmlfiles/77-rule-queue.xml | 1 + tests/xmlfiles/78-rule-queue.xml | 2 ++ 4 files changed, 5 insertions(+) create mode 100644 tests/jsonfiles/66-rule-queue.json create mode 100644 tests/jsonfiles/67-rule-queue.json create mode 100644 tests/xmlfiles/77-rule-queue.xml create mode 100644 tests/xmlfiles/78-rule-queue.xml (limited to 'tests') diff --git a/tests/jsonfiles/66-rule-queue.json b/tests/jsonfiles/66-rule-queue.json new file mode 100644 index 0000000..016110e --- /dev/null +++ b/tests/jsonfiles/66-rule-queue.json @@ -0,0 +1 @@ +{"nftables":[{"rule":{"family":"ip","table":"filter","chain":"input","handle":43,"expr":[{"type":"queue","num":4,"total":2,"flags":0}]}}]} diff --git a/tests/jsonfiles/67-rule-queue.json b/tests/jsonfiles/67-rule-queue.json new file mode 100644 index 0000000..0fefd68 --- /dev/null +++ b/tests/jsonfiles/67-rule-queue.json @@ -0,0 +1 @@ +{"nftables":[{"rule":{"family":"ip","table":"filter","chain":"input","handle":44,"position":43,"expr":[{"type":"queue","num":4,"total":2,"flags":3}]}}]} diff --git a/tests/xmlfiles/77-rule-queue.xml b/tests/xmlfiles/77-rule-queue.xml new file mode 100644 index 0000000..3073b47 --- /dev/null +++ b/tests/xmlfiles/77-rule-queue.xml @@ -0,0 +1 @@ +ipfilter
input43420
diff --git a/tests/xmlfiles/78-rule-queue.xml b/tests/xmlfiles/78-rule-queue.xml new file mode 100644 index 0000000..1876af7 --- /dev/null +++ b/tests/xmlfiles/78-rule-queue.xml @@ -0,0 +1,2 @@ +ipfilter
input4443423
+ -- cgit v1.2.3