libvirt/tests/nwfilterxml2firewalldata
Laine Stump e66451f685 util/tests: enable locking on iptables/ebtables commandlines in unit tests
All the unit tests that use iptables/ip6tables/ebtables have been
written to omit the locking/exclusive use primitive on the generated
commandlines. Even though none of the tests actually execute those
commands (and so it doesn't matter for purposes of the test whether or
not the commands support these options), it still made sense when some
systems had these locking options and some didn't.

We are now at a point where every supported Linux distro has supported
the locking options on these commands for quite a long time, and are
going to make their use non-optional. As a first step, this patch uses
the virFirewallSetLockOverride() function, which is called at the
beginning of all firewall-related tests, to set all the bools
controlling whether or not the locking options are used to true. This
means that all the test cases must be updated to include the proper
locking option in their commandlines.

The change to make actual execs of the commands unconditionally use
the locking option will be in an upcoming patch - this one affects
only the unit tests.

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
2020-11-24 14:21:08 -05:00
..
ah-ipv6-linux.args
ah-ipv6.xml
ah-linux.args
ah.xml
all-ipv6-linux.args
all-ipv6.xml
all-linux.args
all.xml
arp-linux.args
arp.xml
comment-linux.args
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 util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
icmp.xml
icmpv6-linux.args
icmpv6.xml
igmp-linux.args util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
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
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