tests/9pfs: introduce local tests
commit3a565c641a5c50bd6d0cb4df881b607a279505f6
authorChristian Schoenebeck <qemu_oss@crudebyte.com>
Thu, 8 Oct 2020 18:34:56 +0000 (8 20:34 +0200)
committerChristian Schoenebeck <qemu_oss@crudebyte.com>
Mon, 19 Oct 2020 12:25:40 +0000 (19 14:25 +0200)
tree249d8ce0ebd24755fd091e7edb40ca89394b1ea1
parenteefd2394efd6ba379d36d80c52de9ad956343b47
tests/9pfs: introduce local tests

This patch introduces 9pfs test cases using the 9pfs 'local'
filesystem driver which reads/writes/creates/deletes real files
and directories.

In this initial version, there is only one local test which actually
only checks if the 9pfs 'local' device was created successfully.

Before the 9pfs 'local' tests are run, a test directory 'qtest-9p-local'
is created (with world rwx permissions) under the current working
directory. At this point that test directory is not auto deleted yet.

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: <81fc4b3b6b6c9bf7999e79f5e7cbc364a5f09ddb.1602182956.git.qemu_oss@crudebyte.com>
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
tests/qtest/libqos/virtio-9p.c
tests/qtest/libqos/virtio-9p.h
tests/qtest/virtio-9p-test.c