commit | dd1f34a9b9a0fa7e10fef05641f54955006565e3 | [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 | 26f923c7cff1a46d465efcd3b8f2240523c7ab08 [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>