diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2023-06-01 17:13:40 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-06-02 11:46:19 +0200 |
commit | ffd47275895633f2f21aa5f86ab184776b5ea9d1 (patch) | |
tree | 0d2db284a77f14a050acd76f1788d017fe4db56d /tests/qtest/libqmp.h | |
parent | 0150e75d012b34182fa1951d346377f8196464e4 (diff) | |
download | qemu-ffd47275895633f2f21aa5f86ab184776b5ea9d1.zip qemu-ffd47275895633f2f21aa5f86ab184776b5ea9d1.tar.gz qemu-ffd47275895633f2f21aa5f86ab184776b5ea9d1.tar.bz2 |
tests/qtest: get rid of 'qmp_command' helper in migration test
This function duplicates logic of qtest_qmp_assert_success_ref.
The qtest_qmp_assert_success_ref method has better diagnostics
on failure because it prints the entire QMP response, instead
of just asserting on existance of the 'error' key.
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20230601161347.1803440-4-berrange@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'tests/qtest/libqmp.h')
0 files changed, 0 insertions, 0 deletions