test: update to fit latest limit changes
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)
Signed-off-by Arturo Borrero Gonzalez <[email protected]>
--- 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
@@ -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
@@ -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>
Quoted 2 lines · Arturo Borrero Gonzalez
Update tests to fit the latest limit changes in commit [e91ea14] (expr: limit: operational limit match)
Applied, thanks.