svn commit: samba r16445 - in branches/SAMBA_4_0/source/lib/talloc:
.
metze at samba.org
metze at samba.org
Wed Jun 21 19:26:48 GMT 2006
Author: metze
Date: 2006-06-21 19:26:48 +0000 (Wed, 21 Jun 2006)
New Revision: 16445
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16445
Log:
print out values
metze
Modified:
branches/SAMBA_4_0/source/lib/talloc/testsuite.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/talloc/testsuite.c
===================================================================
--- branches/SAMBA_4_0/source/lib/talloc/testsuite.c 2006-06-21 19:22:40 UTC (rev 16444)
+++ branches/SAMBA_4_0/source/lib/talloc/testsuite.c 2006-06-21 19:26:48 UTC (rev 16445)
@@ -389,7 +389,8 @@
talloc_set_name(p1, "my name is %s", "foo");
if (strcmp(talloc_get_name(p1), "my name is foo") != 0) {
- printf("failed: wrong name after talloc_set_name\n");
+ printf("failed: wrong name after talloc_set_name(my name is foo) - '%s'\n",
+ talloc_get_name(p1));
return False;
}
CHECK_BLOCKS(p1, 2);
@@ -397,7 +398,8 @@
talloc_set_name_const(p1, NULL);
if (strcmp(talloc_get_name(p1), "UNNAMED") != 0) {
- printf("failed: wrong name after talloc_set_name(NULL)\n");
+ printf("failed: wrong name after talloc_set_name(NULL) - '%s'\n",
+ talloc_get_name(p1));
return False;
}
CHECK_BLOCKS(p1, 2);
More information about the samba-cvs
mailing list