1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-05 09:18:06 +03:00

r26215: Verify that test_NetrJoinDomain2() has suceeded.

Guenther
This commit is contained in:
Günther Deschner 2007-11-30 09:53:20 +01:00 committed by Stefan Metzmacher
parent 2dd98c2333
commit 16ef4564b2

View File

@ -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;
}