1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-07 17:28:15 +00:00
Daniel P. Berrangé 081bdb4d68 tests: fix dry run handling in network firewall test
The networkxml2firewalltest sets virCommand to dry run mode but doesn't
provide a callback to fill in stdout/stderr. As a result when the
firewall code queries rules it gets a NULL output and so never triggers
the callback to process output.

This trivial change just returns an empty string for the command output
in order to ensure the callback gets triggered. It has no effect right
now, but in future patches this will trigger greater test coverage.

Reviewed-by: Laine Stump <laine@laine.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2018-12-07 15:45:51 +00:00
..
2017-11-20 13:22:48 +01:00
2018-10-01 14:27:42 -04:00
2017-04-11 13:23:01 +02:00
2018-10-10 17:14:05 +02:00
2018-04-10 15:16:23 +02:00
2018-12-03 14:31:41 +01:00
2017-07-26 15:33:45 +02:00
2017-04-27 14:13:19 +02:00
2018-12-05 10:39:54 +01:00