From c13ea9b3a6601406d29c5970734891fbc7eccaac Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 4 Sep 2006 13:47:57 +0000 Subject: r18045: Update format, list "test" target as phony. (This used to be commit 1f431dcd0a1f9a2cd5a0a3b73fbf8b05b8bc6793) --- source4/lib/replace/Makefile.in | 2 ++ source4/lib/replace/test/testsuite.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'source4/lib/replace') 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; } } -- cgit