On 03/30/2017 02:50 AM, Thomas Huth wrote: > HMP commands do not get any automatic testing yet, so on certain > QEMU machines, some HMP commands were causing crashes in the past. > Thus we should test HMP commands in our test suite, too, to avoid > that such problems creep in again in the future. > > Signed-off-by: Thomas Huth > --- > tests/Makefile.include | 2 + > tests/test-hmp.c | 161 +++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 163 insertions(+) > create mode 100644 tests/test-hmp.c We should also update tests/.gitignore to make sure tests/test-hmp doesn't get accidentally committed. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org