summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-09-04 13:47:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:17:07 -0500
commitc13ea9b3a6601406d29c5970734891fbc7eccaac (patch)
tree87388379ee5fa3a5a157bf1c7bde82599eabc9e2
parentcb962c93737e8d0facdcd26461aaea5062a3b21d (diff)
downloadsamba-c13ea9b3a6601406d29c5970734891fbc7eccaac.tar.gz
samba-c13ea9b3a6601406d29c5970734891fbc7eccaac.tar.bz2
samba-c13ea9b3a6601406d29c5970734891fbc7eccaac.zip
r18045: Update format, list "test" target as phony.
(This used to be commit 1f431dcd0a1f9a2cd5a0a3b73fbf8b05b8bc6793)
-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;
}
}