]> git.ipfire.org Git - thirdparty/shadow.git/commit
tests/unit/test_strlcpy.c: Test strlcpy_() and STRLCPY()
authorAlejandro Colomar <alx@kernel.org>
Fri, 20 Oct 2023 12:58:29 +0000 (14:58 +0200)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Wed, 22 Nov 2023 11:55:26 +0000 (12:55 +0100)
commit6879f463277df9ad6c4a7b879b40dadb374d79fc
tree7a9dc218061ab1ece3de0b45b5190347754585fd
parentdad103bdb99a138e126066bbcb712ccb4154b240
tests/unit/test_strlcpy.c: Test strlcpy_() and STRLCPY()

This test fails now, due to a bug: the return type of strlcpy_() is
size_t, but it should be ssize_t.  The next commit will pass the test,
by fixing the bug.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
tests/unit/Makefile.am
tests/unit/test_strlcpy.c [new file with mode: 0644]