tests/9pfs: Factor out do_version() helper
commit1c450e6efe14a7c76f4e75d7316c9fdf00e757c0
authorGreg Kurz <groug@kaod.org>
Tue, 20 Oct 2020 16:09:14 +0000 (20 18:09 +0200)
committerChristian Schoenebeck <qemu_oss@crudebyte.com>
Sun, 1 Nov 2020 18:44:29 +0000 (1 19:44 +0100)
treee3b1a3f2db02ae4816b07a524e29aa82a2c8c3cd
parent603cc76a60691b288947c88ad63b7b0d616f98b6
tests/9pfs: Factor out do_version() helper

fs_version() is a top level test function. Factor out the reusable
code to a separate helper instead of hijacking it in other tests.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <160321015403.266767.4533967728943968456.stgit@bahia.lan>
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
tests/qtest/virtio-9p-test.c