New xml and json test files. Signed-off-by: Ana Rey <anarey@xxxxxxxxx> --- 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 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 @@ +<nftables><rule><family>ip</family><table>filter</table><chain>input</chain><handle>43</handle><expr type="queue"><num>4</num><total>2</total><flags>0</flags></expr></rule></nftables> 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 @@ +<nftables><rule><family>ip</family><table>filter</table><chain>input</chain><handle>44</handle><position>43</position><expr type="queue"><num>4</num><total>2</total><flags>3</flags></expr></rule></nftables> + -- 2.0.0 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html