summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-09-20 00:35:52 +0200
committerKarolin Seeger <kseeger@samba.org>2012-09-28 09:23:07 +0200
commitf9ef9168906233f6b770307f60a01d9c7ed08e02 (patch)
tree08244d9ccc41d28e727e89b63f07ac0c6eceddc3
parent8b67af7c7a84a98794f0941473356537b8d5ee85 (diff)
downloadsamba-f9ef9168906233f6b770307f60a01d9c7ed08e02.tar.gz
s4:torture:smb2: fix compound.related3 test to work against windows (cherry picked from commit 8e525a29a7c6512f61e4647ecb2e0771e2019a49)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source4/torture/smb2/compound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/smb2/compound.c b/source4/torture/smb2/compound.c
index 0eef3695bdb..fa63f3f8d18 100644
--- a/source4/torture/smb2/compound.c
+++ b/source4/torture/smb2/compound.c
@@ -190,9 +190,9 @@ static bool test_compound_related2(struct torture_context *tctx,
status = smb2_close_recv(req[2], &cl);
CHECK_STATUS(status, NT_STATUS_FILE_CLOSED);
status = smb2_close_recv(req[3], &cl);
- CHECK_STATUS(status, NT_STATUS_INVALID_PARAMETER);
+ CHECK_STATUS(status, NT_STATUS_FILE_CLOSED);
status = smb2_close_recv(req[4], &cl);
- CHECK_STATUS(status, NT_STATUS_INVALID_PARAMETER);
+ CHECK_STATUS(status, NT_STATUS_FILE_CLOSED);
TALLOC_FREE(tree->smbXcli);
tree->smbXcli = saved_tcon;