Skip to contentSkip to conversation

test: update to fit latest limit changes

PATCH Applied Arturo Borrero Gonzalez 2 participants 2 messages Oct 22, 2013 – Oct 27, 2013 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 test: update to fit latest limit changes

Update tests to fit the latest limit changes in commit [e91ea14] (expr: limit: operational limit match)

---
 tests/jsonfiles/27-rule-limit.json |    2 +-
 tests/xmlfiles/27-rule-limit.xml   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tests/jsonfiles/27-rule-limit.json +1 -1
index 1f066b4..6d91244 100644
@@ -1 +1 @@
-{"rule":{"family":"ip","table":"filter","chain":"input","handle":27,"flags":0,"expr":[{"type":"limit","rate":321321,"depth":0}]}}
+{"rule":{"family":"ip","table":"filter","chain":"input","handle":27,"flags":0,"expr":[{"type":"limit","rate":321321,"unit":0}]}}
tests/xmlfiles/27-rule-limit.xml +1 -1
index aa81b4e..38a19f8 100644
@@ -1 +1 @@
-<rule><family>ip</family><table>filter</table><chain>INPUT</chain><handle>100</handle><flags>0</flags><expr type="limit"><rate>123123</rate><depth>321321</depth></expr></rule>
+<rule><family>ip</family><table>filter</table><chain>INPUT</chain><handle>100</handle><flags>0</flags><expr type="limit"><rate>123123</rate><unit>321321</unit></expr></rule>
maintainer Applied
#1 lore raw
Quoted 2 lines · Arturo Borrero Gonzalez

Update tests to fit the latest limit changes in commit [e91ea14] (expr: limit: operational limit match)

Applied, thanks.