summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-09-20 00:36:29 +0200
committerKarolin Seeger <kseeger@samba.org>2012-10-29 10:05:37 +0100
commitc7e2411c375e50c1a553327e1c5bbef92f8e7d08 (patch)
tree5551e93d5fc905d6662a731d152994854cfdd424 /source4
parent93e3cce0a184d6624844a212cd3c7ac685e5121b (diff)
downloadsamba-c7e2411c375e50c1a553327e1c5bbef92f8e7d08.tar.gz
s4:torture:smb2: fix the compound.invalid3 test to work against windows (cherry picked from commit bd8d50b451ea7f94efa7777fbe5dc0c2c19f6bf9)
Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 9e662f376f7ecffb7b0d113db674192b2d64a77a)
Diffstat (limited to 'source4')
-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 cca3a8d8693..cd074471bca 100644
--- a/source4/torture/smb2/compound.c
+++ b/source4/torture/smb2/compound.c
@@ -439,9 +439,9 @@ static bool test_compound_invalid3(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);
smb2_util_unlink(tree, fname);
done: