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 |
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}"
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(+)