From: John Pittman <jpittman@redhat.com>
To: shinichiro.kawasaki@wdc.com
Cc: linux-block@vger.kernel.org, John Pittman <jpittman@redhat.com>
Subject: [PATCH blktests v2 0/2] blktests: add ability for multiple dev sysfs checks
Date: Thu, 22 Jan 2026 14:31:31 -0500 [thread overview]
Message-ID: <20260122193133.3087906-1-jpittman@redhat.com> (raw)
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
next reply other threads:[~2026-01-22 19:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-22 19:31 John Pittman [this message]
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
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=20260122193133.3087906-1-jpittman@redhat.com \
--to=jpittman@redhat.com \
--cc=linux-block@vger.kernel.org \
--cc=shinichiro.kawasaki@wdc.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