diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-09-02 15:02:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:03:31 -0500 |
commit | ba79837b1b47cfe77c0fcec8fa099ca5af74dc06 (patch) | |
tree | cbab8f46cbebe56c775cbac6ebabfb8e6101146e /source4/torture | |
parent | ab055fb990e36be37a39a1d3a59788720e7e31e4 (diff) | |
download | samba-ba79837b1b47cfe77c0fcec8fa099ca5af74dc06.tar.gz samba-ba79837b1b47cfe77c0fcec8fa099ca5af74dc06.tar.bz2 samba-ba79837b1b47cfe77c0fcec8fa099ca5af74dc06.zip |
r24895: Test for specific error.
(This used to be commit 00d6dc85f5473ba7b27ed79ea55c8a4fe4d4fac8)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/alter_context.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/rpc/alter_context.c b/source4/torture/rpc/alter_context.c index 34da133de8..f5e8282344 100644 --- a/source4/torture/rpc/alter_context.c +++ b/source4/torture/rpc/alter_context.c @@ -52,7 +52,8 @@ bool torture_rpc_alter_context(struct torture_context *torture) tmptbl.syntax_id.if_version += 100; torture_comment(torture, "Opening bad secondary connection\n"); status = dcerpc_secondary_context(p, &p2, &tmptbl); - torture_assert_ntstatus_ok(torture, status, "dcerpc_alter_context with wrong version should fail"); + torture_assert_ntstatus_equal(torture, status, NT_STATUS_RPC_UNSUPPORTED_NAME_SYNTAX, + "dcerpc_alter_context with wrong version should fail"); torture_comment(torture, "testing DSSETUP pipe operations\n"); ret &= test_DsRoleGetPrimaryDomainInformation(torture, p2); |