summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-09-20 00:36:29 +0200
committerKarolin Seeger <kseeger@samba.org>2012-09-28 09:23:07 +0200
commitf24ee3b4ed0ee54b754a27c855b94114ec378330 (patch)
treedd16add8f272aa4a36f5e67c04458d06fcab4d8e
parentf9ef9168906233f6b770307f60a01d9c7ed08e02 (diff)
downloadsamba-f24ee3b4ed0ee54b754a27c855b94114ec378330.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>
-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 fa63f3f8d18..1c2b7cc5a63 100644
--- a/source4/torture/smb2/compound.c
+++ b/source4/torture/smb2/compound.c
@@ -548,9 +548,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: