[PATCH v2 2/4] unit-test: cover run_commandf() by test-cases
Tom Rini
trini at konsulko.com
Fri Mar 31 16:15:19 CEST 2023
On Mon, Mar 20, 2023 at 11:23:12AM +0300, Evgeny Bachinin 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 <EABachinin at sberdevices.ru>
> Reviewed-by: Simon Glass <sjg at chromium.org>
Applied to u-boot/next, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230331/9e8a9bac/attachment.sig>
More information about the U-Boot
mailing list