Patches 1/3 and 2/3 lay the groundwork for testing sysfs input validation. Patch 3/3 introduces the actual test case. Anand Jain (3): fstests: common/rc: set_fs_sysfs_attr: redirect errors to stdout fstests: filter: helpers for sysfs error filtering fstests: btrfs: testcase for sysfs policy syntax verification common/filter | 24 ++++++++++++ common/rc | 3 +- tests/btrfs/329 | 92 +++++++++++++++++++++++++++++++++++++++++++++ tests/btrfs/329.out | 2 + 4 files changed, 120 insertions(+), 1 deletion(-) create mode 100755 tests/btrfs/329 create mode 100644 tests/btrfs/329.out -- 2.47.0