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

[libvirt] [PATCH 0/4] Introduction of qemucapabilitiestest



So far, we are testing our capabilities code only from the --help output. Which
is sufficient for ancient qemus, but not sufficient for 99% of qemus, where the
QMP is used. So far, only one (example) test case is being added. If the patch
set is accepted, we can add much more test cases.

Michal Privoznik (4):
  qemu_capabilities: Introduce virQEMUCapsInitQMPMonitor
  tests: Learn qemuMonitorTestNew optional greeting
  qemuMonitorTest: Make check for monitor command match optional
  tests: Introduce qemucapabilitiestest

 .gitignore                                      |    1 +
 src/qemu/qemu_capabilities.c                    |  144 +-
 src/qemu/qemu_capabilities.h                    |    3 +
 tests/Makefile.am                               |   12 +-
 tests/qemucapabilitiesdata/caps_default.caps    |  132 ++
 tests/qemucapabilitiesdata/caps_default.replies | 2519 +++++++++++++++++++++++
 tests/qemucapabilitiestest.c                    |  231 +++
 tests/qemuhotplugtest.c                         |    2 +-
 tests/qemumonitortestutils.c                    |   23 +-
 tests/qemumonitortestutils.h                    |    5 +-
 10 files changed, 2994 insertions(+), 78 deletions(-)
 create mode 100644 tests/qemucapabilitiesdata/caps_default.caps
 create mode 100644 tests/qemucapabilitiesdata/caps_default.replies
 create mode 100644 tests/qemucapabilitiestest.c

-- 
1.8.1.5


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