[LTP] [PATCH] sys_block_queue01: Accept plain "none" in queue/scheduler
Cyril Hrubis
chrubis@suse.cz
Thu Nov 19 12:21:43 CET 2026
Hi!
> > 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".
Sorry missed, that, I should have read the commit message better.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list