tests/unit/test_strncpy.c: Test STRNCPY()
Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
committed by
Serge Hallyn
parent
ce30dfe255
commit
fe62fc48bf
@@ -4,6 +4,7 @@ if HAVE_CMOCKA
|
||||
TESTS = $(check_PROGRAMS)
|
||||
|
||||
check_PROGRAMS = \
|
||||
test_strncpy \
|
||||
test_strtcpy \
|
||||
test_xasprintf
|
||||
|
||||
@@ -32,6 +33,18 @@ test_logind_LDADD = \
|
||||
$(LIBSYSTEMD) \
|
||||
$(NULL)
|
||||
|
||||
test_strncpy_SOURCES = \
|
||||
test_strncpy.c \
|
||||
$(NULL)
|
||||
test_strncpy_CFLAGS = \
|
||||
$(AM_FLAGS) \
|
||||
$(NULL)
|
||||
test_strncpy_LDFLAGS = \
|
||||
$(NULL)
|
||||
test_strncpy_LDADD = \
|
||||
$(CMOCKA_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
test_strtcpy_SOURCES = \
|
||||
../../lib/strtcpy.c \
|
||||
test_strtcpy.c \
|
||||
|
||||
Reference in New Issue
Block a user