From: Anand Jain <anand.jain@oracle.com>
To: fstests@vger.kernel.org
Cc: linux-btrfs@vger.kernel.org, zlang@redhat.com, djwong@kernel.org
Subject: [PATCH v6 0/6] fstests: btrfs: add test case to validate sysfs input arguments
Date: Wed, 9 Apr 2025 15:43:12 +0800 [thread overview]
Message-ID: <cover.1744183008.git.anand.jain@oracle.com> (raw)
v6:
- Add missing if statement for the test in `_has_fs_sysfs_attr_policy()`.
- Add a comment to `_verify_sysfs_syntax()`.
- Set seqres early in `check::run_section()`.
- Add _require_test to `btrfs/334` and `btrfs/329`.
v5:
https://lore.kernel.org/fstests/cover.1743996408.git.anand.jain@oracle.com/
v4:
https://lore.kernel.org/fstests/cover.1740721626.git.anand.jain@oracle.com/
v3:
https://lore.kernel.org/fstests/b297a34f-4c09-48bb-86a3-fea50c364ba8@oracle.com/
v2:
https://lore.kernel.org/fstests/cover.1738752716.git.anand.jain@oracle.com/
v1:
https://lwn.net/ml/all/cover.1738161075.git.anand.jain@oracle.com/
Anand Jain (6):
fstests: common/rc: set_fs_sysfs_attr: redirect errors to stdout
fstests: common/rc: fix unset seqres in _set_fs_sysfs_attr
fstests: filter: helper for sysfs error filtering
fstests: common/sysfs: add new file sysfs and helpers
fstests: btrfs: testcase for sysfs policy syntax verification
fstests: btrfs: testcase for sysfs chunk_size attribute validation
check | 2 +-
common/filter | 9 +++
common/rc | 3 +-
common/sysfs | 145 ++++++++++++++++++++++++++++++++++++++++++++
tests/btrfs/329 | 21 +++++++
tests/btrfs/329.out | 19 ++++++
tests/btrfs/334 | 21 +++++++
tests/btrfs/334.out | 14 +++++
8 files changed, 232 insertions(+), 2 deletions(-)
create mode 100644 common/sysfs
create mode 100755 tests/btrfs/329
create mode 100644 tests/btrfs/329.out
create mode 100755 tests/btrfs/334
create mode 100644 tests/btrfs/334.out
--
2.47.0
next reply other threads:[~2025-04-09 7:44 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-09 7:43 Anand Jain [this message]
2025-04-09 7:43 ` [PATCH v6 1/6] fstests: common/rc: set_fs_sysfs_attr: redirect errors to stdout Anand Jain
2025-04-09 7:43 ` [PATCH v6 2/6] fstests: check: fix unset seqres in run_section() Anand Jain
2025-04-09 9:57 ` Zorro Lang
2025-04-09 21:31 ` Anand Jain
2025-04-10 7:12 ` Zorro Lang
2025-05-24 1:39 ` Anand Jain
2025-04-09 7:43 ` [PATCH v6 3/6] fstests: filter: helper for sysfs error filtering Anand Jain
2025-04-09 7:43 ` [PATCH v6 4/6] fstests: common/sysfs: add new file sysfs and helpers Anand Jain
2025-04-09 10:21 ` Zorro Lang
2025-04-09 7:43 ` [PATCH v6 5/6] fstests: btrfs: testcase for sysfs policy syntax verification Anand Jain
2025-04-09 10:22 ` Zorro Lang
2025-04-09 7:43 ` [PATCH v6 6/6] fstests: btrfs: testcase for sysfs chunk_size attribute validation Anand Jain
2025-04-09 10:23 ` Zorro Lang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1744183008.git.anand.jain@oracle.com \
--to=anand.jain@oracle.com \
--cc=djwong@kernel.org \
--cc=fstests@vger.kernel.org \
--cc=linux-btrfs@vger.kernel.org \
--cc=zlang@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox