[U-Boot] [PATCH v2 2/2] test: provide test for errno_str()

Simon Glass sjg at chromium.org
Wed Oct 16 01:31:26 UTC 2019


On Tue, 15 Oct 2019 at 13:46, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> Provide a unit test for errno_str(). Test that known and unknown error
> numbers are handled correctly.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> v2:
>         Do no use constants for strings.
> ---
>  test/lib/Makefile         |  1 +
>  test/lib/test_errno_str.c | 46 +++++++++++++++++++++++++++++++++++++++
>  2 files changed, 47 insertions(+)
>  create mode 100644 test/lib/test_errno_str.c

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list