[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 00/20] tests/9p: introduce declarative function calls
From: |
Christian Schoenebeck |
Subject: |
Re: [PATCH 00/20] tests/9p: introduce declarative function calls |
Date: |
Tue, 18 Oct 2022 13:54:58 +0200 |
On Tuesday, October 4, 2022 10:56:44 PM 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.
Queued on 9p.next:
https://github.com/cschoenebeck/qemu/commits/9p.next
Thanks!
Next 9p PR end of this week.
Best regards,
Christian Schoenebeck
- [PATCH 14/20] tests/9p: convert v9fs_tflush() to declarative arguments, (continued)
- [PATCH 14/20] tests/9p: convert v9fs_tflush() to declarative arguments, Christian Schoenebeck, 2022/10/04
- [PATCH 15/20] tests/9p: merge v9fs_tmkdir() and do_mkdir(), Christian Schoenebeck, 2022/10/04
- [PATCH 16/20] tests/9p: merge v9fs_tlcreate() and do_lcreate(), Christian Schoenebeck, 2022/10/04
- [PATCH 17/20] tests/9p: merge v9fs_tsymlink() and do_symlink(), Christian Schoenebeck, 2022/10/04
- [PATCH 18/20] tests/9p: merge v9fs_tlink() and do_hardlink(), Christian Schoenebeck, 2022/10/04
- [PATCH 19/20] tests/9p: merge v9fs_tunlinkat() and do_unlinkat(), Christian Schoenebeck, 2022/10/04
- [PATCH 20/20] tests/9p: remove unnecessary g_strdup() calls, Christian Schoenebeck, 2022/10/04
- Re: [PATCH 00/20] tests/9p: introduce declarative function calls, Christian Schoenebeck, 2022/10/12
- Re: [PATCH 00/20] tests/9p: introduce declarative function calls,
Christian Schoenebeck <=