[libvirt] [PATCH v2 0/2] Add test case for node name detection
Peter Krempa
pkrempa at redhat.com
Fri Jul 28 10:43:43 UTC 2017
Patch 2/2 was originallly included in the node name detection refactor. v2 does
not contain an ugly hack to make virTestCompareToFile, but rather fixes the
function to treat NULL as an empty string.
Peter Krempa (2):
tests: utils: Allow NULL strings to be equal to empty file in
virTestCompareToFile
tests: qemumonitorjson: Old and empty test case for node name
detection
.../qemumonitorjson-nodename-empty-blockstats.json | 2 +
...qemumonitorjson-nodename-empty-named-nodes.json | 2 +
.../qemumonitorjson-nodename-empty.result | 0
.../qemumonitorjson-nodename-old-blockstats.json | 160 +++++++++++++++++++++
.../qemumonitorjson-nodename-old-named-nodes.json | 2 +
.../qemumonitorjson-nodename-old.result | 0
tests/qemumonitorjsontest.c | 2 +
tests/testutils.c | 5 +
8 files changed, 173 insertions(+)
create mode 100644 tests/qemumonitorjsondata/qemumonitorjson-nodename-empty-blockstats.json
create mode 100644 tests/qemumonitorjsondata/qemumonitorjson-nodename-empty-named-nodes.json
create mode 100644 tests/qemumonitorjsondata/qemumonitorjson-nodename-empty.result
create mode 100644 tests/qemumonitorjsondata/qemumonitorjson-nodename-old-blockstats.json
create mode 100644 tests/qemumonitorjsondata/qemumonitorjson-nodename-old-named-nodes.json
create mode 100644 tests/qemumonitorjsondata/qemumonitorjson-nodename-old.result
--
2.13.2
More information about the libvir-list
mailing list