svn commit: samba r26361 - in branches/SAMBA_4_0/source/torture/libnet: .

abartlet at samba.org abartlet at samba.org
Mon Dec 10 05:45:42 GMT 2007


Author: abartlet
Date: 2007-12-10 05:45:41 +0000 (Mon, 10 Dec 2007)
New Revision: 26361

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

Log:
Ensure this test cannot proceed if the pipe connection failed.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/torture/libnet/libnet_share.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/libnet/libnet_share.c
===================================================================
--- branches/SAMBA_4_0/source/torture/libnet/libnet_share.c	2007-12-10 04:33:39 UTC (rev 26360)
+++ branches/SAMBA_4_0/source/torture/libnet/libnet_share.c	2007-12-10 05:45:41 UTC (rev 26361)
@@ -216,6 +216,8 @@
 					&p,
 					&ndr_table_srvsvc);
 
+	torture_assert_ntstatus_ok(torture, status, "Failed to get rpc connection");
+
 	if (!test_addshare(p, torture, host, TEST_SHARENAME)) {
 		return false;
 	}



More information about the samba-cvs mailing list