On a Friday in 2023, Peter Krempa wrote:
The parser and formatter for nwfilter rules is very strange and has
weird quirks. Add a test case trying to capture some of the quirks to
vizualize how it will change when the code is refactored.
visualize
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
tests/nwfilterxml2xmlin/quirks-invalid.xml | 13 +++++++++++++
tests/nwfilterxml2xmlout/quirks-invalid.xml | 7 +++++++
tests/nwfilterxml2xmltest.c | 5 +++++
3 files changed, 25 insertions(+)
create mode 100644 tests/nwfilterxml2xmlin/quirks-invalid.xml
create mode 100644 tests/nwfilterxml2xmlout/quirks-invalid.xml
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano