git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82c18a4
)
r26215: Verify that test_NetrJoinDomain2() has suceeded.
author
Günther Deschner
<gd@samba.org>
Fri, 30 Nov 2007 08:53:20 +0000
(09:53 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 21 Dec 2007 04:46:55 +0000
(
05:46
+0100)
Guenther
(This used to be commit
16ef4564b25e562b9eb0162541dd571ce14b4344
)
source4/torture/rpc/wkssvc.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/wkssvc.c
b/source4/torture/rpc/wkssvc.c
index 07361fc729504aba7bae840ad4b1438ac8681f44..5722d6ddead4b204a4bfc5147f8cdf6e02b81333 100644
(file)
--- a/
source4/torture/rpc/wkssvc.c
+++ b/
source4/torture/rpc/wkssvc.c
@@
-1275,6
+1275,18
@@
static bool test_NetrJoinDomain2(struct torture_context *tctx,
"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;
}