mbox series

[v2,0/2] app/acl: help to automate testing

Message ID 20210726115137.6994-1-konstantin.ananyev@intel.com (mailing list archive)
Headers show
Series app/acl: help to automate testing | expand

Message

Ananyev, Konstantin July 26, 2021, 11:51 a.m. UTC
The purpose of this series is to help automate ACL library functional
testing using test-acl app.
First patch adds into test-acl ability to skip comment/empty lines.
Second patch adds script for automate testing.
Sample input files are also provided.

v2:
 - Added ability to skip comment/empty lines
 - Fixed check-spdx-tag.sh complains (Thomas)

Konstantin Ananyev (2):
  app/acl: allow comment and empty lines
  app/acl: add script for automate testing

 app/test-acl/input/acl1v4_5_rule  |  7 +++
 app/test-acl/input/acl1v4_5_trace |  7 +++
 app/test-acl/input/acl1v6_1_rule  |  3 +
 app/test-acl/input/acl1v6_1_trace |  4 ++
 app/test-acl/main.c               | 51 ++++++++++++++---
 app/test-acl/test-acl.sh          | 94 +++++++++++++++++++++++++++++++
 6 files changed, 157 insertions(+), 9 deletions(-)
 create mode 100644 app/test-acl/input/acl1v4_5_rule
 create mode 100644 app/test-acl/input/acl1v4_5_trace
 create mode 100644 app/test-acl/input/acl1v6_1_rule
 create mode 100644 app/test-acl/input/acl1v6_1_trace
 create mode 100644 app/test-acl/test-acl.sh

Comments

Thomas Monjalon July 30, 2021, 4:31 p.m. UTC | #1
26/07/2021 13:51, Konstantin Ananyev:
> The purpose of this series is to help automate ACL library functional
> testing using test-acl app.
> First patch adds into test-acl ability to skip comment/empty lines.
> Second patch adds script for automate testing.
> Sample input files are also provided.
> 
> v2:
>  - Added ability to skip comment/empty lines
>  - Fixed check-spdx-tag.sh complains (Thomas)
> 
> Konstantin Ananyev (2):
>   app/acl: allow comment and empty lines
>   app/acl: add script for automate testing

Applied, thanks.