
16 Oct
2019
16 Oct
'19
3:31 a.m.
On Tue, 15 Oct 2019 at 13:46, Heinrich Schuchardt xypron.glpk@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@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@chromium.org