
25 Mar
2021
25 Mar
'21
1:38 a.m.
Hi Sean,
On Thu, 11 Mar 2021 at 18:15, Sean Anderson seanga2@gmail.com wrote:
This test is adapted from glibc, which is very concerned about alignment. It also tests strlcpy by dependency.
Signed-off-by: Sean Anderson seanga2@gmail.com
Changes in v2:
- New
test/lib/Makefile | 1 + test/lib/strlcat.c | 126 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 127 insertions(+) create mode 100644 test/lib/strlcat.c
Reviewed-by: Simon Glass sjg@chromium.org
Gosh, it certainly is.
I do wonder whether you are better just using ut_asserteq_str() since people get the line number and that is normally enough to repeat and find the failure.
- Simon