]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nwfilterxml2xmltest: Add test case for parser and formatter quirks
authorPeter Krempa <pkrempa@redhat.com>
Thu, 16 Feb 2023 09:46:41 +0000 (10:46 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 5 Jun 2023 11:23:06 +0000 (13:23 +0200)
commit7abf1d864b90022ec920491b0000599b77ec8ee8
tree20a2f7dbbf733ccd75e2b1c6fef64a6ae9f14afb
parentdcd49d2cd65c9fe58d3df536fa258fc70c633d7e
nwfilterxml2xmltest: Add test case for parser and formatter quirks

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
visualize how it will change when the code is refactored.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/nwfilterxml2xmlin/quirks-invalid.xml [new file with mode: 0644]
tests/nwfilterxml2xmlout/quirks-invalid.xml [new file with mode: 0644]
tests/nwfilterxml2xmltest.c