[PATCH v1 2/4] unit-test: cover run_commandf() by test-cases

2023-03-11 Thread Evgeny Bachinin
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 Bac

Re: [PATCH v1 2/4] unit-test: cover run_commandf() by test-cases

2023-03-10 Thread Simon Glass
On Fri, 10 Mar 2023 at 10:55, 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-len