[LTP] [PATCH] sys_block_queue01: Accept plain "none" in queue/scheduler
Darren Chang
chihsheng@google.com
Wed Nov 18 17:33:22 CET 2026
Hi Cyril,
> This does not make any sense. Why haven't you simply added "none" to the
> sched_allowed array instead?
"none" is already in sched_allowed[] (line 35 before this patch).
The test fails because elv_iosched_show() prints "none\n" without brackets,
not "[none]\n". TST_SYSFS_ASSERT_CHOICE() requires one bracketed token, so
it fails with "0 selected tokens, expected exactly 1".
Regards,
Darren
More information about the ltp
mailing list