[U-Boot] [PATCH 08/14] test/py: Add an option to execute a string containing a command

Stephen Warren
2016-07-07T17:02:51Z

On 07/03/2016 09:40 AM, Simon Glass wrote:
> It is sometimes inconvenient to convert a string into a list for execution
> with run_and_log(). Provide a helper function to do this.

> diff --git a/test/py/u_boot_utils.py b/test/py/u_boot_utils.py

> +def cmd(u_boot_console, cmd_str):

"cmd" seems very generic and doesn't give any clue what it does. How
about extending the existing function name to e.g. "run_and_log_str"?