diff mbox series

[blktests,6/6] block/005: require queue/scheduler sysfs attribute

Message ID 20230719071510.530623-7-shinichiro.kawasaki@wdc.com (mailing list archive)
State New, archived
Headers show
Series fix failures with bio based device-mapper | expand

Commit Message

Shinichiro Kawasaki July 19, 2023, 7:15 a.m. UTC
The test case block/005 does "switch schedulers while doing IO" then it requires
the queue/scheduler sysfs attribute. Check that requirement.

Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
---
 tests/block/005 | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/tests/block/005 b/tests/block/005
index bd04a00..6a58da0 100755
--- a/tests/block/005
+++ b/tests/block/005
@@ -14,6 +14,10 @@  requires() {
 	_have_fio
 }
 
+device_requires() {
+	_require_test_dev_sysfs queue/scheduler
+}
+
 test_device() {
 	echo "Running ${TEST_NAME}"