libvirt/tests/nwfilterxml2firewalldata
Peter Krempa 13ffa48d2f nwfilterxml2firewalldata: Use internal wrapping to wrap output files
As with previous commits use virCommandSetDryRun to invoke
virCommandToString so that it returns pre-wrapped string.

Since virCommand is better aware of where the arguments terminate we can
see an improvement where comments are no longer line-wrapped.

The changes to the 'commonRules' strings were done with the following
regex:

 s/ -/ \\\\\\n-/

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
2021-04-12 15:55:10 +02:00
..
ah-ipv6-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
ah-ipv6.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
ah-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
ah.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
all-ipv6-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
all-ipv6.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
all-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
all.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
arp-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
arp.xml nwfilter: remove bogus 'protocolid' attribute on arp/rarp fields 2017-12-07 09:21:04 +00:00
comment-linux.args nwfilterxml2firewalldata: Use internal wrapping to wrap output files 2021-04-12 15:55:10 +02:00
comment.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
conntrack-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
conntrack.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
esp-ipv6-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
esp-ipv6.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
esp-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
esp.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
example-1-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
example-1.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
example-2-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
example-2.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
hex-data-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
hex-data.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
icmp-direction2-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
icmp-direction2.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
icmp-direction3-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
icmp-direction3.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
icmp-direction-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
icmp-direction.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
icmp-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
icmp.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
icmpv6-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
icmpv6.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
igmp-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
igmp.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
ip-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
ip.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
ipset-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
ipset.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
ipt-no-macspoof-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
ipt-no-macspoof.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
ipv6-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
ipv6.xml nwfilter: Add support for icmpv6 filtering 2015-01-07 11:41:49 -05:00
iter1-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
iter1.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
iter2-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
iter2.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
iter3-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
iter3.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
mac-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
mac.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
rarp-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
rarp.xml nwfilter: remove bogus 'protocolid' attribute on arp/rarp fields 2017-12-07 09:21:04 +00:00
ref-rule.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
ref.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
sctp-ipv6-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
sctp-ipv6.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
sctp-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
sctp.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
stp-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
stp.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
target2-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
target2.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
target-linux.args nwfilterxml2firewalldata: Use internal wrapping to wrap output files 2021-04-12 15:55:10 +02:00
target.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
tcp-ipv6-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
tcp-ipv6.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
tcp-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
tcp.xml nwfilterxml2firewall: Fix schema compilance of 'tcp' test case 2020-10-20 09:05:10 +02:00
udp-ipv6-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
udp-ipv6.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
udp-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
udp.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
udplite-ipv6-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
udplite-ipv6.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
udplite-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
udplite.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
vlan-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
vlan.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00