Skip to content

blktests: add ability for multiple dev sysfs checks

John Pittman linux-block 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

* set attr variable to local in _require_test_dev_sysfs()
* removed empty arg to _require_test_dev_sysfs() in device_requires()
* changed spaces to tabs before _require_test_dev_sysfs

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2common/rc: support multiple arguments for _require_test_dev_sysfs()common/rc+8 -50 replies
2/2block/042: check sysfs values prior to runningtests/block/042+3 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH blktests v2 0/2] blktests: add ability for multiple dev sysfs checks

This patchset adds the ability to loop within _require_test_dev_sysfs() and check multiple sysfs values rather than only one. In older kernels, as we've seen in recent testing, its common for sysfs values to be missing, so it's good to check these files prior to testing. We also use the new format in block/042 to resolve recently seen failures.

Changes in v2:
* set attr variable to local in _require_test_dev_sysfs()
* removed empty arg to _require_test_dev_sysfs() in device_requires()
* changed spaces to tabs before _require_test_dev_sysfs

John Pittman (2):
common/rc: support multiple arguments for _require_test_dev_sysfs() block/042: check sysfs values prior to running

 common/rc       | 13 ++++++++-----
 tests/block/042 |  4 +++-
 2 files changed, 11 insertions(+), 6 deletions(-)
Signature · 1 line
2.51.1