On Fri, 10 Mar 2023 at 10:55, Evgeny Bachinin <eabachi...@sberdevices.ru> wrote:
>
> As run_commandf() is variadic version of run_command() and just a wrapper,
> hence apply similar run_command's test-cases.
>
> Let's avoid warning about empty string passing:
> warning: zero-length gnu_printf format string [-Wformat-zero-length]
>    assert(run_commandf("") == 0);
>
> Signed-off-by: Evgeny Bachinin <eabachi...@sberdevices.ru>
> ---
>  test/command_ut.c | 35 +++++++++++++++++++++++++++++++++++
>  1 file changed, 35 insertions(+)
>

Reviewed-by: Simon Glass <s...@chromium.org>

Reply via email to