[PATCH v2 0/2] Add test case for node name detection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux