svn commit: samba r26215 - in branches/SAMBA_4_0/source/torture/rpc: .

gd at samba.org gd at samba.org
Fri Nov 30 09:53:20 GMT 2007


Author: gd
Date: 2007-11-30 09:53:20 +0000 (Fri, 30 Nov 2007)
New Revision: 26215

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

Log:
Verify that test_NetrJoinDomain2() has suceeded.

Guenther

Modified:
   branches/SAMBA_4_0/source/torture/rpc/wkssvc.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/wkssvc.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/wkssvc.c	2007-11-30 09:49:20 UTC (rev 26214)
+++ branches/SAMBA_4_0/source/torture/rpc/wkssvc.c	2007-11-30 09:53:20 UTC (rev 26215)
@@ -1275,6 +1275,18 @@
 				   "NetrJoinDomain2 failed");
 	torture_assert_werr_equal(tctx, r.out.result, expected_err,
 				  "NetrJoinDomain2 failed");
+
+	if (!test_GetJoinInformation(tctx, p, &join_status, &join_name))
+	{
+		return false;
+	}
+
+	if (join_status != NetSetupDomainName) {
+		torture_comment(tctx,
+				"Join verify failed: got %d\n", join_status);
+		return false;
+	}
+
 	return true;
 }
 



More information about the samba-cvs mailing list