diff options
| author | Evgeny Bachinin <[email protected]> | 2023-03-20 11:23:12 +0300 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-03-30 15:09:59 -0400 |
| commit | dd1f34a9b9a0fa7e10fef05641f54955006565e3 (patch) | |
| tree | 8a35e5147613006de95f748aa77ec6d8a4de5e3c /include/linux/string.h | |
| 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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions
