On 2018-08-30 17:58, Marc-André Lureau wrote:
> This helper will simplify a bunch of code checking for QMP errors and
> can be shared by various tests.  Note that test-qga does check for
> error description as well, so don't replace the code there for now.
> 
> Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
> ---
>  tests/libqtest.h       |  9 ++++++
>  tests/drive_del-test.c |  5 +--
>  tests/libqtest.c       | 11 +++++++
>  tests/qmp-test.c       | 73 +++++++++++++-----------------------------
>  tests/test-qga.c       |  9 ++----
>  5 files changed, 46 insertions(+), 61 deletions(-)

Reviewed-by: Thomas Huth <th...@redhat.com>

Reply via email to