summaryrefslogtreecommitdiffstats
path: root/tests/xmlfiles/57-rule-real.xml
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2013-08-10 12:52:12 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-08-10 13:02:18 +0200
commit663bbeba68f8abc5a33892535984a318aa258dd6 (patch)
tree7eaf920988a88405db90395a9f651143cd4f6618 /tests/xmlfiles/57-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 <pablo@netfilter.org>
Diffstat (limited to 'tests/xmlfiles/57-rule-real.xml')
-rw-r--r--tests/xmlfiles/57-rule-real.xml27
1 files changed, 1 insertions, 26 deletions
diff --git a/tests/xmlfiles/57-rule-real.xml b/tests/xmlfiles/57-rule-real.xml
index da71196..2ade569 100644
--- a/tests/xmlfiles/57-rule-real.xml
+++ b/tests/xmlfiles/57-rule-real.xml
@@ -1,27 +1,2 @@
-<rule>
- <family>ip</family>
- <table>filter</table>
- <chain>output</chain>
- <handle>19</handle>
- <flags>0</flags>
- <expr type="ct">
- <dreg>1</dreg>
- <key>helper</key>
- <dir>0</dir>
- </expr>
- <expr type="cmp">
- <sreg>1</sreg>
- <op>eq</op>
- <cmpdata>
- <data_reg type="value">
- <len>4</len>
- <data0>0x00707466</data0>
- </data_reg>
- </cmpdata>
- </expr>
- <expr type="counter">
- <pkts>0</pkts>
- <bytes>0</bytes>
- </expr>
-</rule>
+<rule><family>ip</family><table>filter</table><chain>output</chain><handle>19</handle><flags>0</flags><expr type="ct"><dreg>1</dreg><key>helper</key><dir>0</dir></expr><expr type="cmp"><sreg>1</sreg><op>eq</op><cmpdata><data_reg type="value"><len>4</len><data0>0x00707466</data0></data_reg></cmpdata></expr><expr type="counter"><pkts>0</pkts><bytes>0</bytes></expr></rule>
<!-- nft add rule filter output ct helper "ftp" counter -->