public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH blktests v2 0/2] blktests: add ability for multiple dev sysfs checks
@ 2026-01-22 19:31 John Pittman
  2026-01-22 19:31 ` [PATCH blktests v2 1/2] common/rc: support multiple arguments for _require_test_dev_sysfs() John Pittman
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: John Pittman @ 2026-01-22 19:31 UTC (permalink / raw)
  To: shinichiro.kawasaki; +Cc: linux-block, John Pittman

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(-)

-- 
2.51.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-01-25  7:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-22 19:31 [PATCH blktests v2 0/2] blktests: add ability for multiple dev sysfs checks John Pittman
2026-01-22 19:31 ` [PATCH blktests v2 1/2] common/rc: support multiple arguments for _require_test_dev_sysfs() John Pittman
2026-01-22 19:31 ` [PATCH blktests v2 2/2] block/042: check sysfs values prior to running John Pittman
2026-01-25  7:17 ` [PATCH blktests v2 0/2] blktests: add ability for multiple dev sysfs checks Shinichiro Kawasaki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox