path: root/tests/xmlfiles/66-rule-real.xml
diff options
authorPablo Neira Ayuso <>2013-08-10 12:52:12 +0200
committerPablo Neira Ayuso <>2013-08-10 13:02:18 +0200
commit663bbeba68f8abc5a33892535984a318aa258dd6 (patch)
tree7eaf920988a88405db90395a9f651143cd4f6618 /tests/xmlfiles/66-rule-real.xml
parentd8061a3a53ba00db56b68eec72f6d0afa974b89b (diff)
tests: xml: remove \t and \n from all the files
These XML files are intented to be used for automated tests. Thus, it's important to have exactly the same output that was generated by the library. The beautified output does not match the real output that the library provides and it just makes things harder for us to provide a more advanced automated testing. If you want to make any of those file human readable, please use: xmllint --format file.xml or open the xml file and any browser, eg. firefox. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'tests/xmlfiles/66-rule-real.xml')
1 files changed, 1 insertions, 25 deletions
diff --git a/tests/xmlfiles/66-rule-real.xml b/tests/xmlfiles/66-rule-real.xml
index 562a5e3..137c257 100644
--- a/tests/xmlfiles/66-rule-real.xml
+++ b/tests/xmlfiles/66-rule-real.xml
@@ -1,26 +1,2 @@
- <family>ip</family>
- <table>filter</table>
- <chain>output</chain>
- <handle>28</handle>
- <flags>0</flags>
- <expr type="meta">
- <dreg>1</dreg>
- <key>skgid</key>
- </expr>
- <expr type="cmp">
- <sreg>1</sreg>
- <op>eq</op>
- <cmpdata>
- <data_reg type="value">
- <len>4</len>
- <data0>0x000003e8</data0>
- </data_reg>
- </cmpdata>
- </expr>
- <expr type="counter">
- <pkts>0</pkts>
- <bytes>0</bytes>
- </expr>
+<rule><family>ip</family><table>filter</table><chain>output</chain><handle>28</handle><flags>0</flags><expr type="meta"><dreg>1</dreg><key>skgid</key></expr><expr type="cmp"><sreg>1</sreg><op>eq</op><cmpdata><data_reg type="value"><len>4</len><data0>0x000003e8</data0></data_reg></cmpdata></expr><expr type="counter"><pkts>0</pkts><bytes>0</bytes></expr></rule>
<!-- nft add rule ip filter output meta skgid 1000 counter -->