svn commit: samba r13277 - in branches/SAMBA_4_0/source/torture/basic: .

tridge at samba.org tridge at samba.org
Wed Feb 1 05:22:45 GMT 2006


Author: tridge
Date: 2006-02-01 05:22:44 +0000 (Wed, 01 Feb 2006)
New Revision: 13277

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

Log:

print a useful error message when test 17 fails

Modified:
   branches/SAMBA_4_0/source/torture/basic/delete.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/basic/delete.c
===================================================================
--- branches/SAMBA_4_0/source/torture/basic/delete.c	2006-02-01 05:20:54 UTC (rev 13276)
+++ branches/SAMBA_4_0/source/torture/basic/delete.c	2006-02-01 05:22:44 UTC (rev 13277)
@@ -1177,8 +1177,8 @@
 	/* See if the file is deleted - shouldn't be.... */
 	fnum1 = smbcli_open(cli1->tree, fname, O_RDWR, DENY_NONE);
 	if (fnum1 == -1) {
-		printf("(%s) open of %s failed (should succeed)\n", 
-		       __location__, fname);
+		printf("(%s) open of %s failed (should succeed) - %s\n", 
+		       __location__, fname, smbcli_errstr(cli1->tree));
 		correct = False;
 		goto fail;
 	}



More information about the samba-cvs mailing list