From: "Dr. David Alan Gilbert" <dgilb...@redhat.com>

In a1771070e7 I added an error message during migration loading
so you could see the field that failed to load.
Unfortunately this triggers during the expected-failure case
testing in tests/test-vmstate.

This silences that error by providing a dummy monitor pointer
that doesn't output anything and then selecting it around
the noisy part of the test.

(I couldn't find anywhere better than libqtest.h for the declaration
but stubs doesn't have it's own header; is it worth creating one
just for that?)

Dave

Dr. David Alan Gilbert (2):
  tests/stubs: Add a dummy, silent monitor
  test-vmstate: Silence expected errors

 stubs/mon-is-qmp.c   | 9 +++++++++
 tests/libqtest.h     | 1 +
 tests/test-vmstate.c | 8 ++++++++
 3 files changed, 18 insertions(+)

-- 
2.9.3


Reply via email to