aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Schoenebeck <qemu_oss@crudebyte.com>2020-10-08 20:34:56 +0200
committerChristian Schoenebeck <qemu_oss@crudebyte.com>2020-10-19 14:25:40 +0200
commiteefd2394efd6ba379d36d80c52de9ad956343b47 (patch)
treea02a67e7f747f2be1c86ab9b2522b2e120995b7d
parentb036d9ac690943af93929ede376c4482c8f97bf2 (diff)
tests/9pfs: change qtest name prefix to synth
All existing 9pfs test cases are using the 'synth' fs driver so far, which means they are not accessing real files, but a purely simulated (in RAM only) file system. Let's make this clear by changing the prefix of the individual qtest case names from 'fs/' to 'synth/'. That way they'll be easily distinguishable from upcoming new 9pfs test cases supposed to be using a different fs driver. Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com> Message-Id: <e04e75acb849b085c6d6320b2433a15fa935bcff.1602182956.git.qemu_oss@crudebyte.com> Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
-rw-r--r--tests/qtest/virtio-9p-test.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/qtest/virtio-9p-test.c b/tests/qtest/virtio-9p-test.c
index de30b717b6..3281153b9c 100644
--- a/tests/qtest/virtio-9p-test.c
+++ b/tests/qtest/virtio-9p-test.c
@@ -897,26 +897,26 @@ static void fs_readdir_split_512(void *obj, void *data,
static void register_virtio_9p_test(void)
{
- qos_add_test("config", "virtio-9p", pci_config, NULL);
- qos_add_test("fs/version/basic", "virtio-9p", fs_version, NULL);
- qos_add_test("fs/attach/basic", "virtio-9p", fs_attach, NULL);
- qos_add_test("fs/walk/basic", "virtio-9p", fs_walk, NULL);
- qos_add_test("fs/walk/no_slash", "virtio-9p", fs_walk_no_slash,
+ qos_add_test("synth/config", "virtio-9p", pci_config, NULL);
+ qos_add_test("synth/version/basic", "virtio-9p", fs_version, NULL);
+ qos_add_test("synth/attach/basic", "virtio-9p", fs_attach, NULL);
+ qos_add_test("synth/walk/basic", "virtio-9p", fs_walk, NULL);
+ qos_add_test("synth/walk/no_slash", "virtio-9p", fs_walk_no_slash,
NULL);
- qos_add_test("fs/walk/dotdot_from_root", "virtio-9p",
+ qos_add_test("synth/walk/dotdot_from_root", "virtio-9p",
fs_walk_dotdot, NULL);
- qos_add_test("fs/lopen/basic", "virtio-9p", fs_lopen, NULL);
- qos_add_test("fs/write/basic", "virtio-9p", fs_write, NULL);
- qos_add_test("fs/flush/success", "virtio-9p", fs_flush_success,
+ qos_add_test("synth/lopen/basic", "virtio-9p", fs_lopen, NULL);
+ qos_add_test("synth/write/basic", "virtio-9p", fs_write, NULL);
+ qos_add_test("synth/flush/success", "virtio-9p", fs_flush_success,
NULL);
- qos_add_test("fs/flush/ignored", "virtio-9p", fs_flush_ignored,
+ qos_add_test("synth/flush/ignored", "virtio-9p", fs_flush_ignored,
NULL);
- qos_add_test("fs/readdir/basic", "virtio-9p", fs_readdir, NULL);
- qos_add_test("fs/readdir/split_512", "virtio-9p",
+ qos_add_test("synth/readdir/basic", "virtio-9p", fs_readdir, NULL);
+ qos_add_test("synth/readdir/split_512", "virtio-9p",
fs_readdir_split_512, NULL);
- qos_add_test("fs/readdir/split_256", "virtio-9p",
+ qos_add_test("synth/readdir/split_256", "virtio-9p",
fs_readdir_split_256, NULL);
- qos_add_test("fs/readdir/split_128", "virtio-9p",
+ qos_add_test("synth/readdir/split_128", "virtio-9p",
fs_readdir_split_128, NULL);
}