Author: jelmer
Date: 2006-09-04 13:47:57 +0000 (Mon, 04 Sep 2006)
New Revision: 18045

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18045

Log:
Update format, list "test" target as phony.

Modified:
   branches/SAMBA_4_0/source/lib/replace/Makefile.in
   branches/SAMBA_4_0/source/lib/replace/test/testsuite.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/Makefile.in
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/Makefile.in   2006-09-04 13:35:03 UTC 
(rev 18044)
+++ branches/SAMBA_4_0/source/lib/replace/Makefile.in   2006-09-04 13:47:57 UTC 
(rev 18045)
@@ -9,6 +9,8 @@
 builddir = @builddir@
 INSTALL = @INSTALL@
 
+.PHONY: test
+
 CFLAGS=-I. -I$(srcdir) @CFLAGS@
 
 OBJS = dlfcn.o getpass.o replace.o snprintf.o timegm.o

Modified: branches/SAMBA_4_0/source/lib/replace/test/testsuite.c
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/test/testsuite.c      2006-09-04 
13:35:03 UTC (rev 18044)
+++ branches/SAMBA_4_0/source/lib/replace/test/testsuite.c      2006-09-04 
13:47:57 UTC (rev 18045)
@@ -96,7 +96,7 @@
        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;
                }
        }

Reply via email to