summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/replace/Makefile.in2
-rw-r--r--source4/lib/replace/test/testsuite.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/source4/lib/replace/Makefile.in b/source4/lib/replace/Makefile.in
index 1dbc94341b..54196b089a 100644
--- a/source4/lib/replace/Makefile.in
+++ b/source4/lib/replace/Makefile.in
@@ -9,6 +9,8 @@ srcdir = @srcdir@
builddir = @builddir@
INSTALL = @INSTALL@
+.PHONY: test
+
CFLAGS=-I. -I$(srcdir) @CFLAGS@
OBJS = dlfcn.o getpass.o replace.o snprintf.o timegm.o
diff --git a/source4/lib/replace/test/testsuite.c b/source4/lib/replace/test/testsuite.c
index 5d20c345f8..998715f63f 100644
--- a/source4/lib/replace/test/testsuite.c
+++ b/source4/lib/replace/test/testsuite.c
@@ -96,7 +96,7 @@ static int test_strlcpy()
printf("testing strlcpy\n");
for (i=0;tests[i].src;i++) {
if (strlcpy(buf, tests[i].src, sizeof(buf)) != tests[i].result) {
- printf("strlcpy test %d failed\n");
+ printf("strlcpy test %d failed\n", i);
return false;
}
}