On 06.07.2018 12:57, Marc-André Lureau wrote:
> Presumably 0.15 was the version it was first introduced, but
> qmp keeps evolving. There is no point in having that version
> as test prefix, 'qmp' makes more sense here.
>
> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> Reviewed-by: Eric Blake <eblake@redhat.com>
> Message-Id: <20180326150916.9602-12-marcandre.lureau@redhat.com>
> Reviewed-by: Markus Armbruster <armbru@redhat.com>
> Signed-off-by: Markus Armbruster <armbru@redhat.com>
> ---
> tests/test-qmp-cmds.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/tests/test-qmp-cmds.c b/tests/test-qmp-cmds.c
> index ba41a6161e..ab414fa0c9 100644
> --- a/tests/test-qmp-cmds.c
> +++ b/tests/test-qmp-cmds.c
> @@ -286,11 +286,11 @@ int main(int argc, char **argv)
> {
> g_test_init(&argc, &argv, NULL);
>
> - g_test_add_func("/0.15/dispatch_cmd", test_dispatch_cmd);
> - g_test_add_func("/0.15/dispatch_cmd_failure", test_dispatch_cmd_failure);
> - g_test_add_func("/0.15/dispatch_cmd_io", test_dispatch_cmd_io);
> - g_test_add_func("/0.15/dealloc_types", test_dealloc_types);
> - g_test_add_func("/0.15/dealloc_partial", test_dealloc_partial);
> + g_test_add_func("/qmp/dispatch_cmd", test_dispatch_cmd);
> + g_test_add_func("/qmp/dispatch_cmd_failure", test_dispatch_cmd_failure);
> + g_test_add_func("/qmp/dispatch_cmd_io", test_dispatch_cmd_io);
> + g_test_add_func("/qmp/dealloc_types", test_dealloc_types);
> + g_test_add_func("/qmp/dealloc_partial", test_dealloc_partial);
>
> test_qmp_init_marshal(&qmp_commands);
> g_test_run();
>
Reviewed-by: Thomas Huth <thuth@redhat.com>