test: provide test for errno_str()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 15 Oct 2019 19:46:04 +0000 (21:46 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 31 Oct 2019 11:22:53 +0000 (07:22 -0400)
commit79c84de4689b1c22be3ccac8914307daa38b0bd8
treeb93d59e1b73e1048d9b646b00ea6ced2bea7aede
parent02e8a8241bb5fff315f3e721992220428f288b6d
test: provide test for errno_str()

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>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/lib/Makefile
test/lib/test_errno_str.c [new file with mode: 0644]