mbox series

[v6,0/6] fstests: btrfs: add test case to validate sysfs input arguments

Message ID cover.1744183008.git.anand.jain@oracle.com (mailing list archive)
Headers show
Series fstests: btrfs: add test case to validate sysfs input arguments | expand

Message

Anand Jain April 9, 2025, 7:43 a.m. UTC
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