On Mittwoch, 12. Oktober 2022 15:58:06 CEST Greg Kurz wrote:
> On Wed, 12 Oct 2022 12:00:40 +0200
> Christian Schoenebeck <qemu_...@crudebyte.com> wrote:
> 
> > On Dienstag, 4. Oktober 2022 22:56:44 CEST Christian Schoenebeck wrote:
> > > This series converts relevant 9p (test) client functions to use named
> > > function arguments. For instance
> > > 
> > >     do_walk_expect_error(v9p, "non-existent", ENOENT);
> > > 
> > > becomes
> > > 
> > >     twalk({
> > >         .client = v9p, .path = "non-existent", .expectErr = ENOENT
> > >     });
> > > 
> > > The intention is to make the actual 9p test code more readable, and 
easier
> > > to maintain on the long-term.
> > > 
> > > Not only makes it clear what a literal passed to a function is supposed 
to
> > > do, it also makes the order and selection of arguments very liberal, and
> > > allows to merge multiple, similar functions into one single function.
> > > 
> > > This is basically just refactoring, it does not change behaviour.
> > 
> > Too massive for review?
> > 
> 
> Yeah, sorry :-(
> 
> But since the approach you're taking here may be valuable elsewhere,
> and this is qtest, it seems fair to ask Thomas and Laurent to have
> a look :-)

Thomas, Laurent, if you had some spare cycles to look at this, that would be 
much appreciated!

Otherwise if not possible then I'll go ahead with PR next week as said.

Best regards,
Christian Schoenebeck



Reply via email to