diff mbox series

[v4,08/12] tests/9pfs: change qtest name prefix to synth

Message ID e04e75acb849b085c6d6320b2433a15fa935bcff.1602182956.git.qemu_oss@crudebyte.com
State Superseded
Headers show
Series 9pfs: add tests using local fs driver | expand

Commit Message

Christian Schoenebeck Oct. 8, 2020, 6:34 p.m. UTC
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>
---
 tests/qtest/virtio-9p-test.c | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

Comments

Christian Schoenebeck Oct. 14, 2020, 3:25 p.m. UTC | #1
On Donnerstag, 8. Oktober 2020 20:34:56 CEST Christian Schoenebeck wrote:
> 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>
> ---
>  tests/qtest/virtio-9p-test.c | 28 ++++++++++++++--------------
>  1 file changed, 14 insertions(+), 14 deletions(-)

Queued patches 8 .. 12 on 9p.next:

https://github.com/cschoenebeck/qemu/commits/9p.next

Best regards,
Christian Schoenebeck
Greg Kurz Oct. 14, 2020, 7:38 p.m. UTC | #2
On Wed, 14 Oct 2020 17:25:35 +0200
Christian Schoenebeck <qemu_oss@crudebyte.com> wrote:

> On Donnerstag, 8. Oktober 2020 20:34:56 CEST Christian Schoenebeck wrote:

> > 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>

> > ---

> >  tests/qtest/virtio-9p-test.c | 28 ++++++++++++++--------------

> >  1 file changed, 14 insertions(+), 14 deletions(-)

> 

> Queued patches 8 .. 12 on 9p.next:

> 

> https://github.com/cschoenebeck/qemu/commits/9p.next

> 


Hi Chistian,

I could only have a quick glimpse at the patches and LGTM.

Thanks for taking care.

Cheers,

--
Greg

> Best regards,

> Christian Schoenebeck

> 

>
Christian Schoenebeck Oct. 15, 2020, 9:16 a.m. UTC | #3
On Mittwoch, 14. Oktober 2020 21:38:16 CEST Greg Kurz wrote:
> On Wed, 14 Oct 2020 17:25:35 +0200

> 

> Christian Schoenebeck <qemu_oss@crudebyte.com> wrote:

> > On Donnerstag, 8. Oktober 2020 20:34:56 CEST Christian Schoenebeck wrote:

> > > 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>

> > > ---

> > > 

> > >  tests/qtest/virtio-9p-test.c | 28 ++++++++++++++--------------

> > >  1 file changed, 14 insertions(+), 14 deletions(-)

> > 

> > Queued patches 8 .. 12 on 9p.next:

> > 

> > https://github.com/cschoenebeck/qemu/commits/9p.next

> 

> Hi Chistian,

> 

> I could only have a quick glimpse at the patches and LGTM.

> 

> Thanks for taking care.

> 

> Cheers,

> 

> --

> Greg

>


Thanks, I appreciate it.

Best regards,
Christian Schoenebeck
diff mbox series

Patch

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);
 }