src/, lib/, tests/: Rename files defining strtcpy()
Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
committed by
Iker Pedrosa
parent
090c019ada
commit
f9fb855889
@@ -4,7 +4,7 @@ if HAVE_CMOCKA
|
||||
TESTS = $(check_PROGRAMS)
|
||||
|
||||
check_PROGRAMS = \
|
||||
test_strlcpy \
|
||||
test_strtcpy \
|
||||
test_xasprintf
|
||||
|
||||
if ENABLE_LOGIND
|
||||
@@ -32,16 +32,16 @@ test_logind_LDADD = \
|
||||
$(LIBSYSTEMD) \
|
||||
$(NULL)
|
||||
|
||||
test_strlcpy_SOURCES = \
|
||||
../../lib/strlcpy.c \
|
||||
test_strlcpy.c \
|
||||
test_strtcpy_SOURCES = \
|
||||
../../lib/strtcpy.c \
|
||||
test_strtcpy.c \
|
||||
$(NULL)
|
||||
test_strlcpy_CFLAGS = \
|
||||
test_strtcpy_CFLAGS = \
|
||||
$(AM_FLAGS) \
|
||||
$(NULL)
|
||||
test_strlcpy_LDFLAGS = \
|
||||
test_strtcpy_LDFLAGS = \
|
||||
$(NULL)
|
||||
test_strlcpy_LDADD = \
|
||||
test_strtcpy_LDADD = \
|
||||
$(CMOCKA_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#include <cmocka.h>
|
||||
|
||||
#include "sizeof.h"
|
||||
#include "strlcpy.h"
|
||||
#include "strtcpy.h"
|
||||
|
||||
|
||||
static void test_STRTCPY_trunc(void **state);
|
||||
Reference in New Issue
Block a user