[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 1/4] tests: add qmp_assert_error_class()
From: |
Thomas Huth |
Subject: |
Re: [Qemu-devel] [PATCH v5 1/4] tests: add qmp_assert_error_class() |
Date: |
Fri, 31 Aug 2018 07:50:05 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
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 <address@hidden>
> ---
> 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 <address@hidden>