commit | 0742ce7560f8edf3e0bf9cc67e0deeb34dd4c41b | [log] [tgz] |
---|---|---|
author | Evgeny Bachinin <EABachinin@sberdevices.ru> | Mon Mar 20 11:23:12 2023 +0300 |
committer | Tom Rini <trini@konsulko.com> | Thu Mar 30 15:09:59 2023 -0400 |
tree | 8a35e5147613006de95f748aa77ec6d8a4de5e3c | |
parent | d95e1d13292702427d6c62a352a6cea7ea3c4232 [diff] |
unit-test: cover run_commandf() by test-cases 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@sberdevices.ru> Reviewed-by: Simon Glass <sjg@chromium.org>