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

Simon Glass sjg at chromium.org
Mon Jan 11 16:23:32 CET 2016


On 5 January 2016 at 15:58, Stephen Warren <swarren at wwwdotorg.org> wrote:
> From: Stephen Warren <swarren at 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 at 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 at chromium.org>


More information about the U-Boot mailing list