svn commit: samba r18070 - in branches/SAMBA_3_0/source/torture: .

metze at samba.org metze at samba.org
Tue Sep 5 10:37:18 GMT 2006


Author: metze
Date: 2006-09-05 10:37:18 +0000 (Tue, 05 Sep 2006)
New Revision: 18070

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

Log:
be more verbose when errors happen

metze
Modified:
   branches/SAMBA_3_0/source/torture/torture.c


Changeset:
Modified: branches/SAMBA_3_0/source/torture/torture.c
===================================================================
--- branches/SAMBA_3_0/source/torture/torture.c	2006-09-05 10:29:16 UTC (rev 18069)
+++ branches/SAMBA_3_0/source/torture/torture.c	2006-09-05 10:37:18 UTC (rev 18070)
@@ -224,6 +224,8 @@
 				     username, workgroup, 
 				     password, flags, Undefined, &retry);
 	if (!NT_STATUS_IS_OK(status)) {
+		printf("failed to open share connection: //%s/%s port:%d - %s\n",
+			hostname, sharename, port_to_use, nt_errstr(status));
 		return False;
 	}
 
@@ -3682,6 +3684,7 @@
 			break;
 		}
 		num_pipes++;
+		printf("\r%6d", num_pipes);
 	}
 
 	printf("pipe_number test - we can open %d %s pipes.\n", num_pipes, pipe_name );



More information about the samba-cvs mailing list