
2 Jun
2023
2 Jun
'23
8:44 a.m.
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@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@redhat.com> Jano