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

fs_attach() 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: <160321017450.266767.17377192504263871186.stgit@bahia.lan>
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
tests/qtest/virtio-9p-test.c