[U-Boot] [PATCH V3 7/7] test/py: test the ums command

Simon Glass
2016-01-11T15:23:32Z

On 5 January 2016 at 15:58, Stephen Warren <swarren@wwwdotorg.org> wrote:
> From: Stephen Warren <swarren@nvidia.com>
>
> This test invokes the "ums" command in U-Boot, and validates that a USB
> storage device is enumerated on the test host system, and can be read
> from.
>
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> ---
> v3:
> - Move test scripts into a sub-directory.
> Suggested by Michal Simek.
> - s/uboot/u[-_]boot/g. Suggested by Simon Glass.
> - s/"/'/g. Suggested by Simon Glass.
> - Add more documentation. Suggested by Simon Glass.
> - Rename boardenv USB device node variable to avoid naming conflicts if
> we add support for other types of USB device later (e.g. CDC ACM, CDC
> Ethernet, DFU).
> ---
> test/py/tests/test_ums.py | 94 +++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 94 insertions(+)
> create mode 100644 test/py/tests/test_ums.py

Acked-by: Simon Glass <sjg@chromium.org>