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
ah-ipv6.xml
ah-linux.args
ah.xml
all-ipv6-linux.args
all-ipv6.xml
all-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
all.xml
arp-linux.args
arp.xml
comment-linux.args nwfilterxml2firewalldata: Use internal wrapping to wrap output files 2021-04-12 15:55:10 +02:00
comment.xml
conntrack-linux.args
conntrack.xml
esp-ipv6-linux.args
esp-ipv6.xml
esp-linux.args
esp.xml
example-1-linux.args
example-1.xml
example-2-linux.args
example-2.xml
hex-data-linux.args
hex-data.xml
icmp-direction2-linux.args
icmp-direction2.xml
icmp-direction3-linux.args
icmp-direction3.xml
icmp-direction-linux.args
icmp-direction.xml
icmp-linux.args
icmp.xml
icmpv6-linux.args
icmpv6.xml
igmp-linux.args
igmp.xml
ip-linux.args
ip.xml
ipset-linux.args
ipset.xml
ipt-no-macspoof-linux.args
ipt-no-macspoof.xml
ipv6-linux.args
ipv6.xml
iter1-linux.args
iter1.xml
iter2-linux.args
iter2.xml
iter3-linux.args
iter3.xml
mac-linux.args
mac.xml
rarp-linux.args
rarp.xml
ref-rule.xml
ref.xml
sctp-ipv6-linux.args
sctp-ipv6.xml
sctp-linux.args
sctp.xml
stp-linux.args
stp.xml
target2-linux.args
target2.xml
target-linux.args nwfilterxml2firewalldata: Use internal wrapping to wrap output files 2021-04-12 15:55:10 +02:00
target.xml
tcp-ipv6-linux.args
tcp-ipv6.xml
tcp-linux.args
tcp.xml
udp-ipv6-linux.args
udp-ipv6.xml
udp-linux.args
udp.xml
udplite-ipv6-linux.args
udplite-ipv6.xml
udplite-linux.args
udplite.xml
vlan-linux.args
vlan.xml